<!DOCTYPE html>
<!-- saved from url=(0113)https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&viewFallbackFrom=net-5.0 -->
<html class="hasSidebar hasPageActions hasBreadcrumb reference has-default-focus js-focus-visible theme-light" lang="zh-cn" dir="ltr" data-css-variable-support="true" data-authenticated="false" data-auth-status-determined="true" data-target="docs" x-ms-format-detection="none" data-js-focus-visible=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta property="og:title" content="HttpContext 类 (System.Web)">
	<meta property="og:type" content="website">
	<meta property="og:url" content="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext">
			<meta property="og:description" content="封装有关个别 HTTP 请求的所有 HTTP 特定的信息。Encapsulates all HTTP-specific information about an individual HTTP request. ">
		<meta property="og:image" content="https://docs.microsoft.com/en-us/media/logos/logo-ms-social.png">
		<meta property="og:image:alt" content="Microsoft Logo">

	<meta name="twitter:card" content="summary">
	<meta name="twitter:site" content="@docsmsft">

	<meta name="color-scheme" content="light">


	<meta name="monikers" content="netframework-1.1">
<meta name="monikers" content="netframework-2.0">
<meta name="monikers" content="netframework-3.0">
<meta name="monikers" content="netframework-3.5">
<meta name="monikers" content="netframework-4.0">
<meta name="monikers" content="netframework-4.5">
<meta name="monikers" content="netframework-4.5.1">
<meta name="monikers" content="netframework-4.5.2">
<meta name="monikers" content="netframework-4.6">
<meta name="monikers" content="netframework-4.6.1">
<meta name="monikers" content="netframework-4.6.2">
<meta name="monikers" content="netframework-4.7">
<meta name="monikers" content="netframework-4.7.1">
<meta name="monikers" content="netframework-4.7.2">
<meta name="monikers" content="netframework-4.8">
<meta name="namespace" content="System.Web">
<meta name="APILocation" content="System.Web.dll">
<meta name="APIName" content="System.Web.HttpContext">
<meta name="APIType" content="Assembly">
<meta name="apiPlatform" content="dotnet">
<meta name="author" content="scottaddie">
<meta name="bilingual_type" content="hover over">
<meta name="breadcrumb_path" content="/dotnet/breadcrumb/toc.json">
<meta name="depot_name" content="VS.dotnet-api-docs">
<meta name="document_id" content="dc99d598-5dee-6dba-7a00-da695fc11673">
<meta name="document_version_independent_id" content="8d6d02fe-5f27-ac16-50b8-037e65dcd2e0">
<meta name="enable_loc_sxs" content="true">
<meta name="gitcommit" content="https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/845ad4212e718f6678498e3f7276fa993bd9b984/xml/System.Web/HttpContext.xml">
<meta name="locale" content="zh-cn">
<meta name="ms.author" content="dotnetcontent">
<meta name="ms.contentlocale" content="zh-CN">
<meta name="ms.date" content="04/30/2018">
<meta name="ms.lasthandoff" content="07/21/2020">
<meta name="ms.locfileid" content="86654769">
<meta name="ms.openlocfilehash" content="564e4ee808462efe628cb842fb40a4c39ac9a0cc">
<meta name="ms.prod" content="dotnet-api">
<meta name="ms.sourcegitcommit" content="b53d35b4a410c949742abd4c6a989d1af5357bca">
<meta name="ms.technology" content="system.web">
<meta name="ms.topic" content="managed-reference">
<meta name="ms.translationtype" content="MT">
<meta name="original_content_git_url" content="https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/live-sxs/xml/System.Web/HttpContext.xml">
<meta name="search.ms_docsetname" content="dotnet-api-docs">
<meta name="search.ms_product" content="VS">
<meta name="search.ms_sitename" content="Docs">
<meta name="site_name" content="Docs">
<meta name="TopicType" content="apiref">
<meta name="uhfHeaderId" content="MSDocsHeader-DotNet">
<meta name="updated_at" content="2020-08-27 11:15 AM">
<meta name="page_type" content="dotnet">
<meta name="page_kind" content="class">
<meta name="ms.assetid" content="System.Web.HttpContext">
<meta name="description" content="封装有关个别 HTTP 请求的所有 HTTP 特定的信息。Encapsulates all HTTP-specific information about an individual HTTP request. ">
<meta name="toc_rel" content="_splitted/system.web/toc.json">
<meta name="search.mshattr.devlang" content="csharp vb cpp fsharp">


	<meta name="scope" content=".NET">
<link href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext" rel="canonical">
	<title>HttpContext 类 (System.Web) | Microsoft Docs</title>

		<link rel="stylesheet" href="./HttpContext 类 (System.Web) _ Microsoft Docs_files/97269d6d.site-ltr.css">

	<link rel="stylesheet" href="./HttpContext 类 (System.Web) _ Microsoft Docs_files/9b111b12.reference.css">


	<script async="" defer="" crossorigin="anonymous" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/lux.js.下载"></script><script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/analytics.js.下载"></script><script id="msdocs-script">
	var msDocs = {
		data: {
			timeOrigin: Date.now(),
			contentLocale: 'zh-cn',
			contentDir: 'ltr',
			userLocale: 'zh-cn',
			userDir: 'ltr',
			pageTemplate: 'Reference',
			brand: '',
			context: {

			},
			hasBinaryRating: true,
			hasGithubIssues: false,
			showFeedbackReport: false,
			enableTutorialFeedback: false,
			feedbackSystem: 'None',
			feedbackGitHubRepo: '',
			feedbackProductUrl: '',
			contentGitUrl: 'https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/live/xml/System.Web/HttpContext.xml',
			defaultDevLang: 'csharp',
			extendBreadcrumb: true,
			isEditDisplayable: false,
			hideViewSource: false,
			hasPageActions: true,
			hasBookmark: true,
			hasShare: true,
			hasRecommendations: false,
			contributors: [
						{ name: "olprod", url: "https://github.com/olprod" }
],
		},
		functions:{}
	};
	</script>
	<script src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/wcp-consent.js.下载"></script>
	<script src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/jsll-4.js.下载"></script>
	<script>window.jsllAwa = window.awa;</script>
	<script nomodule="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/bluebird.min.js.下载" integrity="sha384-aD4BDeDGeLXLpPK4yKeqtZQa9dv4a/7mQ+4L5vwshIYH1Mc2BrXvHd32iHzYCQy5" crossorigin="anonymous"></script>
	<script nomodule="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/fetch.umd.min.js.下载" integrity="sha384-EQIXrC5K2+7X8nGgLkB995I0/6jfAvvyG1ieZ+WYGxgJHFMD/alsG9fSDWvzb5Y1" crossorigin="anonymous"></script>
	<script nomodule="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/template.min.js.下载" integrity="sha384-1zKzI6ldTVHMU7n0W2HpE/lhHI+UG4D9IIaxbj3kT2UhCWicdTuJkTtnKuu0CQzN" crossorigin="anonymous"></script>
	<script nomodule="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/url.min.js.下载" integrity="sha384-vn7xBMtpSTfzaTRWxj0kVq0UcsbBrTOgZ/M1ISHqe1V358elYva+lfiEC+T8jLPc" crossorigin="anonymous"></script>
	<script src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/f0a172e9.index-polyfills.js.下载"></script>
		<script src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/qrious.min.js.下载" integrity="sha384-h/SmU/qxwYnRlzklg9PKWpDwyma9UmKuOB//Pz6Cov5KkEqcaFF0vod43/XhoeyJ" crossorigin="anonymous"></script>

		<script src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/ac722197.index-docs.js.下载"></script><style>
		[data-moniker]:not([data-moniker~='netframework-4.8']) {
			display: none !important;
		}
	</style>
<script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/t.js.下载"></script><style type="text/css" media="print">.usabilla_live_button_container { display: none; }</style><script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/t.js(1).下载"></script><script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/t.js(2).下载"></script><script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/t.js(3).下载"></script><script async="" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/t.js(4).下载"></script></head>

<body lang="zh-cn" dir="ltr"><div style="display: none;" id="lightningjs-usabilla_live"><div><iframe frameborder="0" id="lightningjs-frame-usabilla_live" src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/saved_resource.html"></iframe></div></div>
	<div class="header-holder has-default-focus">
		<a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#main" class="skip-to-main-link has-outline-color-text visually-hidden-until-focused is-fixed has-inner-focus focus-visible has-top-zero has-left-zero has-right-zero has-padding-medium has-text-centered has-body-background-medium" tabindex="1">跳转至主内容</a>
		
		<div id="ignite-banner-holder" class="has-default-focus has-overflow-hidden"></div>
		
		<div hidden="" id="cookie-consent-holder"></div>
		<!-- liquid-tag banners global -->
		<div id="headerAreaHolder" data-bi-name="header">
<header role="banner" itemscope="itemscope" itemtype="http://schema.org/Organization"><!----> <div class="nav-bar"><!---->  <div class="nav-bar-brand">
		<a class="nav-bar-button" itemprop="url" href="https://www.microsoft.com/" aria-label="Microsoft">
			<div class="nav-bar-logo" role="presentation" aria-hidden="true" itemprop="logo" itemscope="itemscope">
				<svg xmlns="http://www.w3.org/2000/svg" width="108" height="23" viewBox="72 72 337 74" preserveAspectRatio="xMidYMin slice">
					<g data-name="MS-symbol">
						<clippath id="a">
							<path transform="matrix(1 0 0 -1 0 216)" d="M0 216h482V0H0z"></path>
						</clippath>
						<g clip-path="url(#a)">
							<path class="has-fill-current-color has-text-subtle" d="M394.942 104.59h-10.858v25.003h-7.38V104.59h-5.182v-5.965h5.182v-4.308c0-3.254 1.06-5.92 3.178-7.998 2.12-2.079 4.835-3.118 8.15-3.118.882 0 1.666.045 2.35.135a9.37 9.37 0 011.806.407v6.296c-.24-.14-.663-.31-1.265-.512-.603-.2-1.296-.3-2.078-.3-1.528 0-2.702.476-3.526 1.43-.824.954-1.235 2.365-1.235 4.232v3.736h10.858v-6.959l7.321-2.229v9.188h7.381v5.965h-7.38v14.49c0 1.91.345 3.254 1.038 4.037.693.783 1.782 1.175 3.27 1.175.42 0 .927-.1 1.52-.3a7.178 7.178 0 001.552-.724v6.025c-.463.261-1.23.502-2.305.723a15.742 15.742 0 01-3.178.331c-3.073 0-5.378-.817-6.914-2.455-1.537-1.637-2.305-4.102-2.305-7.396zm-48.407 9.73c0 3.233.733 5.703 2.2 7.411 1.465 1.707 3.564 2.56 6.295 2.56 2.652 0 4.67-.853 6.055-2.56 1.386-1.708 2.08-4.238 2.08-7.592 0-3.334-.719-5.849-2.155-7.547-1.436-1.697-3.45-2.545-6.04-2.545-2.67 0-4.745.888-6.22 2.666-1.477 1.777-2.215 4.313-2.215 7.607m-7.592.24c0-5.12 1.446-9.177 4.338-12.17 2.892-2.993 6.91-4.489 12.05-4.489 4.841 0 8.621 1.441 11.343 4.323 2.721 2.883 4.082 6.774 4.082 11.674 0 5.021-1.447 9.018-4.338 11.99-2.892 2.973-6.829 4.458-11.81 4.458-4.8 0-8.61-1.41-11.432-4.232-2.822-2.82-4.233-6.673-4.233-11.554m-16.417-7.802c0 1.045.331 1.863.994 2.456.662.592 2.128 1.34 4.398 2.243 2.912 1.166 4.956 2.476 6.131 3.932 1.175 1.456 1.762 3.22 1.762 5.287 0 2.912-1.12 5.252-3.359 7.02-2.24 1.767-5.267 2.65-9.083 2.65-1.285 0-2.706-.155-4.263-.467-1.556-.31-2.877-.707-3.96-1.19v-7.169a17.945 17.945 0 004.277 2.198c1.526.543 2.911.814 4.157.814 1.647 0 2.862-.23 3.645-.693.784-.46 1.175-1.235 1.175-2.319 0-1.005-.406-1.853-1.22-2.546-.813-.693-2.355-1.492-4.624-2.395-2.69-1.125-4.599-2.39-5.724-3.796-1.125-1.406-1.687-3.193-1.687-5.362 0-2.792 1.11-5.086 3.33-6.884 2.217-1.797 5.095-2.696 8.63-2.696 1.084 0 2.3.12 3.645.361 1.346.242 2.47.553 3.374.934v6.93c-.964-.644-2.089-1.195-3.374-1.658-1.286-.462-2.56-.693-3.826-.693-1.386 0-2.465.271-3.238.813-.774.543-1.16 1.286-1.16 2.23m-35.066 7.562c0 3.233.733 5.703 2.2 7.411 1.465 1.707 3.564 2.56 6.295 2.56 2.652 0 4.67-.853 6.055-2.56 1.386-1.708 2.08-4.238 2.08-7.592 0-3.334-.719-5.849-2.155-7.547-1.436-1.697-3.449-2.545-6.039-2.545-2.672 0-4.745.888-6.222 2.666-1.476 1.777-2.214 4.313-2.214 7.607m-7.592.24c0-5.12 1.446-9.177 4.338-12.17 2.893-2.993 6.91-4.489 12.051-4.489 4.84 0 8.621 1.441 11.342 4.323 2.721 2.883 4.082 6.774 4.082 11.674 0 5.021-1.446 9.018-4.338 11.99-2.892 2.973-6.828 4.458-11.809 4.458-4.8 0-8.61-1.41-11.433-4.232-2.822-2.82-4.233-6.673-4.233-11.554m-3.136-16.448c.582 0 1.105.041 1.567.121.462.08.853.18 1.175.301v7.38c-.382-.28-.939-.546-1.672-.798-.733-.25-1.622-.376-2.666-.376-1.788 0-3.299.753-4.534 2.26-1.235 1.505-1.853 3.825-1.853 6.958v15.635h-7.29V98.624h7.29v4.88h.12c.663-1.687 1.667-3.007 3.013-3.96 1.346-.954 2.962-1.432 4.85-1.432m-27.956 26.18c1.084 0 2.28-.25 3.585-.754a15.06 15.06 0 003.615-1.988v6.778c-1.165.663-2.485 1.165-3.962 1.506-1.475.342-3.098.512-4.865.512-4.559 0-8.265-1.44-11.116-4.323-2.852-2.88-4.278-6.562-4.278-11.04 0-4.98 1.456-9.083 4.37-12.307 2.91-3.224 7.037-4.835 12.38-4.835 1.366 0 2.746.176 4.143.527 1.395.352 2.504.758 3.328 1.22v6.99c-1.125-.824-2.274-1.462-3.45-1.914a9.966 9.966 0 00-3.599-.678c-2.872 0-5.192.934-6.959 2.802-1.768 1.868-2.652 4.388-2.652 7.562 0 3.132.85 5.573 2.546 7.32 1.697 1.748 4.002 2.621 6.914 2.621m-22.112 5.302h-7.29V98.624h7.29zm-8.044-39.916c0-1.205.437-2.214 1.311-3.028.874-.813 1.913-1.22 3.118-1.22 1.285 0 2.35.417 3.193 1.25.844.834 1.266 1.833 1.266 2.998 0 1.185-.432 2.18-1.296 2.982-.864.804-1.918 1.205-3.163 1.205-1.246 0-2.295-.406-3.148-1.219-.854-.815-1.28-1.803-1.28-2.968m-6.274-3.284v43.2h-7.5v-33.86h-.12l-13.408 33.86h-4.97l-13.738-33.86h-.09v33.86h-6.929v-43.2h10.755l12.412 32.024h.18l13.105-32.024z"></path>
							<path d="M106.214 106.214H71.996V71.996h34.218z" fill="#f25022"></path>
							<path d="M143.993 106.214h-34.218V71.996h34.218z" fill="#7fba00"></path>
							<path d="M106.214 143.993H71.996v-34.218h34.218z" fill="#00a4ef"></path>
							<path d="M143.993 143.993h-34.218v-34.218h34.218z" fill="#ffb900"></path>
						</g>
					</g>
				</svg>
			</div>
		</a>
	</div> 
				
		<div class="nav-bar-item is-hidden-tablet">
			<div class="nav-bar-menu">
				<button class="nav-bar-button is-title" title="全球导航" aria-expanded="false">
					<span class="nav-bar-menu-title"><!---->文档<!----></span>
					<div class="nav-bar-burger">
						<span></span>
						<span></span>
						<span></span>
						<span class="nav-bar-burger-label"><!---->全球导航<!----></span>
					</div>
				</button>
			</div>
		</div>
	
				
		<nav class="nav-bar-nav" role="navigation" aria-label="全球">
			<ul class="nav-bar-nav-list">
				
		<li class="nav-bar-item is-category">
			<a class="nav-bar-button is-title has-hover-underline" itemprop="url" href="https://docs.microsoft.com/zh-cn/">
				<span><!---->Docs<!----></span>
			</a>
		</li>
	
				<!----> <li class="nav-bar-item">
				<a class=" nav-bar-button has-hover-underline is-active" href="https://docs.microsoft.com/zh-cn/documentation">
					<span><!---->文档<!----></span>
				</a>
		  </li><!----> <li class="nav-bar-item">
				<a class=" nav-bar-button has-hover-underline " href="https://docs.microsoft.com/zh-cn/learn/">
					<span><!---->Learn<!----></span>
				</a>
		  </li><!----> <li class="nav-bar-item">
				<a class=" nav-bar-button has-hover-underline " href="https://docs.microsoft.com/zh-cn/answers/products/">
					<span><!---->Q&amp;A<!----></span>
				</a>
		  </li><!----> <li class="nav-bar-item">
				<a class=" nav-bar-button has-hover-underline " href="https://docs.microsoft.com/zh-cn/samples/browse/">
					<span><!---->代码示例<!----></span>
				</a>
		  </li><!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-96">
			<span><!---->更多<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-96" aria-label="更多">
			<!---->
				<li class="nav-bar-item" hidden="">
					<a class=" nav-bar-button is-active" href="https://docs.microsoft.com/zh-cn/documentation"><!---->文档<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item" hidden="">
					<a class=" nav-bar-button " href="https://docs.microsoft.com/zh-cn/learn/"><!---->Learn<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item" hidden="">
					<a class=" nav-bar-button " href="https://docs.microsoft.com/zh-cn/answers/products/"><!---->Q&amp;A<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item" hidden="">
					<a class=" nav-bar-button " href="https://docs.microsoft.com/zh-cn/samples/browse/"><!---->代码示例<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!---->
			</ul>
		</nav>
	
				<span class="nav-bar-spacer"></span>
				
		<div class="nav-bar-search " id="ax-97" hidden="">
			
		<form class="nav-bar-search-form" method="GET" name="nav-bar-search-form" role="search" id="nav-bar-search-form" aria-label="搜索" aria-expanded="false" action="https://docs.microsoft.com/zh-cn/search/">
			<div class="autocomplete" data-bi-name="autocomplete"><!----> <div class="control ">
				<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="site-search-input" class="autocomplete-input input   is-small" type="search" name="terms" aria-expanded="false" aria-owns="ax-98-listbox" aria-activedescendant="" aria-label="搜索" placeholder="搜索">

				<span aria-hidden="true" class="icon is-small is-left" hidden="">
					<span class="has-text-primary docon docon-undefined"></span>
				</span>

				<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
			</div>

			<ul class="autocomplete-suggestions is-vertically-scrollable" role="listbox" id="ax-98-listbox" aria-label="site-search-input-suggestions" hidden="">
				
			</ul><!----></div>
			<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
			<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
			<input name="category" hidden="" value="Reference">
			<input name="scope" hidden="" value=".NET">
			
			
		</form>
	
		</div>
		
					<div class="nav-bar-search">
						<!-- hidden when the width drops to tablet -->
						
		<form class="nav-bar-search-form" method="GET" name="nav-bar-search-form" role="search" id="nav-bar-search-form-desktop" aria-label="搜索" aria-expanded="false" action="https://docs.microsoft.com/zh-cn/search/">
			<div class="autocomplete" data-bi-name="autocomplete"><!----> <div class="control has-icons-left">
				<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="ax-99" class="autocomplete-input input control has-icons-left  is-small" type="search" name="terms" aria-expanded="false" aria-owns="ax-100-listbox" aria-activedescendant="" aria-label="搜索" placeholder="搜索">

				<span aria-hidden="true" class="icon is-small is-left">
					<span class="has-text-primary docon docon-search"></span>
				</span>

				<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
			</div>

			<ul class="autocomplete-suggestions is-vertically-scrollable" role="listbox" id="ax-100-listbox" aria-label="ax-99-suggestions" hidden="">
				
			</ul><!----></div>
			<!-- mobile safari will not dispatch submit event unless there's a submit button that is not display:none -->
			<button type="submit" class="visually-hidden" tabindex="-1" aria-hidden="true"></button>
			<input name="category" hidden="" value="Reference">
			<input name="scope" hidden="" value=".NET">
			
			
		</form>
	
					</div>
			  
		<div class="nav-bar-search " hidden="">
			<div class="nav-bar-search-form-expander">
				<button id="form-expander" class="nav-bar-button has-hover-underline " title="搜索" aria-expanded="false" aria-controls="ax-97">
					
		<span class="is-visually-hidden-mobile"><!---->搜索<!----></span>
		<span class="icon" aria-hidden="true">
			<span class="docon docon-search"></span>
		</span>
	
				</button>
			</div>
		</div>
	
				
		<div class="nav-bar-profile">
			
		<a class="docs-sign-in auth-status-determined not-authenticated" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#"> 登录 </a>
	 
		<div class="dropdown has-caret auth-status-determined authenticated">
			<button class="dropdown-trigger button-reset" aria-controls="user-menu" aria-expanded="false" aria-label="你的帐户">
				<figure class="image is-36x36">
					<img class="has-body-background-medium is-rounded" alt="" data-profile-property="avatarUrl">
				</figure>
			</button>
			<div class="dropdown-menu box has-flex-justify-content-start has-body-background" id="user-menu" role="menu">
				<div class="media is-user-dir">
					<div class="media-left">
						<figure class="image is-48x48" aria-hidden="true">
							<img class="has-body-background-medium is-rounded" aria-labelledby="displayName" data-profile-property="avatarUrl">
						</figure>
					</div>
					<div class="media-content">
						<p class="title is-size-large">
							<span id="displayName" class="is-inline-truncated has-max-width-200" data-profile-property="displayName"></span>
						</p>
						<p class="subtitle is-size-small has-margin-bottom-none">
							<span class="is-inline-truncated has-max-width-200" data-profile-property="upn"></span>
						</p>
					</div>
				</div>
				<ul class="has-padding-top-small has-padding-bottom-medium">
					<li class="has-padding-top-extra-small has-padding-bottom-extra-small">
						<a href="https://docs.microsoft.com/profile" data-profile-property="profileUrl"><!---->配置文件<!----></a>
					</li>
					<li class="has-padding-top-extra-small has-padding-bottom-extra-small">
						<a href="https://docs.microsoft.com/profile" data-profile-property="bookmarksUrl"><!---->书签<!----></a>
					</li>
					<li class="has-padding-top-extra-small has-padding-bottom-extra-small">
						<a href="https://docs.microsoft.com/profile" data-profile-property="collectionsUrl"><!---->集合<!----></a>
					</li>
					<li class="has-padding-top-extra-small">
						<a href="https://docs.microsoft.com/profile" data-profile-property="challengesUrl"><!---->挑战<!----></a>
					</li>
				</ul>
				<div class="has-border-top has-padding-top-medium">
					<a class="docs-sign-out" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#"><!---->注销<!----></a>
				</div>
			</div>
		</div>
	
		</div>
	
			 <!----></div> <div class="nav-bar has-border-top is-hidden-mobile"><!----> 
		<a class="nav-bar-button is-title has-hover-underline" itemprop="url" href="https://docs.microsoft.com/dotnet/">
			<span>
				.NET
				
			</span>
		</a>
	 
		
		<nav class="nav-bar-nav" role="navigation" aria-label="站点">
			<ul class="nav-bar-nav-list">
				
				<!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-101">
			<span><!---->语言<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-101" aria-label="语言">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/csharp/"><!---->C#<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/fsharp/"><!---->F#<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/visual-basic/"><!---->Visual Basic<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-102">
			<span><!---->工作负载<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-102" aria-label="工作负载">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/aspnet/core/"><!---->Web<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/xamarin/"><!---->移动<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/azure/"><!---->云<!----></a>
				</li>
		  <!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-103">
			<span><!---->桌面<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-103" aria-label="桌面">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/desktop-wpf/"><!---->Windows Presentation Foundation<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/framework/winforms/"><!---->Windows 窗体<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/windows/uwp/"><!---->通用 Windows 应用<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-104">
			<span><!---->机器学习和数据<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-104" aria-label="机器学习和数据">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/machine-learning/"><!---->ML.NET<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/spark/"><!---->.NET for Apache Spark<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/ef/"><!---->实体框架<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-105">
			<span><!---->API<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-105" aria-label="API">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=netcore-3.1"><!---->.NET Core<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=netframework-4.8"><!---->.NET Framework<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=aspnetcore-3.1"><!---->ASP.NET<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=ml-dotnet"><!---->ML.NET<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-106">
			<span><!---->资源<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-106" aria-label="资源">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet"><!---->什么是 .NET？<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn/dotnet/architecture-guides"><!---->.NET 体系结构指南<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn"><!---->学习材料<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/download"><!---->下载<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/platform/community"><!---->社区<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/platform/support"><!---->支持<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://devblogs.microsoft.com/dotnet/"><!---->博客<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  has-hover-underline" aria-controls="ax-107">
			<span><!---->更多<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-down-light expanded-indicator"></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-107" aria-label="更多">
			<!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-108">
			<span><!---->语言<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-108" aria-label="语言">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/csharp/"><!---->C#<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/fsharp/"><!---->F#<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/visual-basic/"><!---->Visual Basic<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-109">
			<span><!---->工作负载<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-109" aria-label="工作负载">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/aspnet/core/"><!---->Web<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/xamarin/"><!---->移动<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/azure/"><!---->云<!----></a>
				</li>
		  <!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-110">
			<span><!---->桌面<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-110" aria-label="桌面">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/desktop-wpf/"><!---->Windows Presentation Foundation<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/framework/winforms/"><!---->Windows 窗体<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/windows/uwp/"><!---->通用 Windows 应用<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-111">
			<span><!---->机器学习和数据<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-111" aria-label="机器学习和数据">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/machine-learning/"><!---->ML.NET<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/spark/"><!---->.NET for Apache Spark<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/ef/"><!---->实体框架<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-112">
			<span><!---->API<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-112" aria-label="API">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=netcore-3.1"><!---->.NET Core<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=netframework-4.8"><!---->.NET Framework<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=aspnetcore-3.1"><!---->ASP.NET<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=ml-dotnet"><!---->ML.NET<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!----> <li class="dropdown nav-bar-item" hidden="">
		<button aria-expanded="false" class="dropdown-trigger nav-bar-button  " aria-controls="ax-113">
			<span><!---->资源<!----></span>
			<span class="nav-bar-button-chevron" aria-hidden="true">
				<span class="docon docon-chevron-right-light "></span>
			</span>
		</button>
		<ul class="dropdown-menu" id="ax-113" aria-label="资源">
			<!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet"><!---->什么是 .NET？<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn/dotnet/architecture-guides"><!---->.NET 体系结构指南<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/learn"><!---->学习材料<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/download"><!---->下载<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/platform/community"><!---->社区<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://dotnet.microsoft.com/platform/support"><!---->支持<!----></a>
				</li>
		  <!---->
				<li class="nav-bar-item">
					<a class="has-external-link-indicator nav-bar-button " href="https://devblogs.microsoft.com/dotnet/"><!---->博客<!----></a>
				</li>
		  <!---->
		</ul>
	</li><!---->
		</ul>
	</li><!---->
			</ul>
		</nav>
	
		<span class="nav-bar-spacer"></span>
		
		<ol class="nav-bar-list">
			 
		<li class="nav-bar-item ">
			<a class="button is-small is-primary " href="https://dotnet.microsoft.com/download">
				下载 .NET
			</a>
		</li>
	
		</ol>
	 
	 <!----></div> <!----></header>		</div>

						<div class="content-header uhf-container has-padding has-default-focus has-border-bottom-none" data-bi-name="content-header">
					<nav class="breadcrumb-holder has-padding-none has-padding-left-medium-tablet has-padding-right-medium-tablet has-padding-left-none-uhf-tablet has-padding-left-none-uhf-tablet has-padding-none-desktop has-flex-grow" data-bi-name="breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList" role="navigation" aria-label="痕迹">
						<ul id="page-breadcrumbs" class="breadcrumbs"><!----><!---->
			<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
				
							<a itemprop="item" href="https://docs.microsoft.com/zh-cn/?view=netframework-4.8">
								<span itemprop="name"><!---->Docs<!----></span>
							</a>
					  
				<meta itemprop="position" content="1">
			</li>
		<!---->
			<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
				
							<a itemprop="item" href="https://docs.microsoft.com/zh-cn/dotnet/?view=netframework-4.8">
								<span itemprop="name"><!---->.NET<!----></span>
							</a>
					  
				<meta itemprop="position" content="2">
			</li>
		<!---->
			<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
				
							<a itemprop="item" href="https://docs.microsoft.com/zh-cn/dotnet/api/?view=netframework-4.8">
								<span itemprop="name"><!---->.NET API 浏览器<!----></span>
							</a>
					  
				<meta itemprop="position" content="3">
			</li>
		<!---->
			<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
				
							<a itemprop="item" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web?view=netframework-4.8">
								<span itemprop="name"><!---->System.<wbr>Web<!----></span>
							</a>
					  
				<meta itemprop="position" content="4">
			</li>
		<!---->
			<li itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
				<span itemprop="name"><!---->HttpContext<!----></span>
				<meta itemprop="position" content="5">
			</li>
		<!----><!----></ul>
					</nav>
				<div class="content-header-controls">
					<button type="button" class="contents-button button" data-bi-name="contents-expand" aria-haspopup="true">
						<span class="icon"><span class="docon docon-menu" aria-hidden="true"></span></span>
						<span class="contents-expand-title">目录</span>
					</button>
					<button type="button" class="ap-collapse-behavior ap-expanded button" data-bi-name="ap-collapse" aria-controls="action-panel">
						<span class="icon"><span class="docon docon-exit-mode" aria-hidden="true"></span></span>
						<span>退出焦点模式</span>
					</button>
				</div>
				<div class="has-padding-none-tablet has-padding-medium is-size-small is-flex-touch has-flex-justify-content-space-between-touch has-flex-grow page-action-holder">
					<ul class="is-hidden-mobile action-list has-flex-justify-content-start has-flex-justify-content-end-tablet is-flex is-flex-row has-flex-wrap has-flex-grow is-unstyled">
						<li>

<div class="language dropdown has-caret is-inline-block has-border-mobile">
	<button class="dropdown-trigger button is-text is-small" aria-controls="language-menu" aria-expanded="false" title="语言" data-bi-name="language">
		<span class="icon is-hidden-desktop has-margin-none">
			<span class="docon docon-code-lang" aria-hidden="true"></span>
		</span>
		<span class="lang-title is-visually-hidden-touch has-flex-align-self-start is-hidden-portrait" dir="ltr">C#</span>
		<span class="icon is-hidden-mobile is-hidden-tablet-only" aria-hidden="true">
			<span class="docon docon-chevron-down-light expanded-indicator"></span>
		</span>
	</button>
	<div class="dropdown-menu has-padding-small language-selector" name="language-selector" role="menu">
		<ul data-bi-name="language-links" dir="ltr">
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-csharp" tabindex="0" aria-selected="true">C#</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-vb" tabindex="0" aria-selected="false">VB</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-cpp" tabindex="0" aria-selected="false">C++</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-fsharp" tabindex="0" aria-selected="false">F#</a>
			</li>
		</ul>
	</div>
</div>						</li>
						<li>
							<button type="button" class="bookmark button is-text has-inner-focus is-small is-icon-only-touch" data-list-type="bookmarks" data-bi-name="bookmark" title="添加 HttpContext 类 (System.Web) | Microsoft Docs 的书签" aria-pressed="false">
								<span class="icon" aria-hidden="true">
									<span class="docon docon-single-bookmark"></span>
								</span>
								<span class="bookmark-status is-visually-hidden-touch is-hidden-portrait">书签</span>
							</button>
						</li>
								<li id="contenteditbtn" hidden="">
									<a href="https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/live/xml/System.Web/HttpContext.xml" class="button is-text has-inner-focus is-icon-only-touch is-small" title="编辑本文" data-bi-name="edit" data-original_content_git_url="https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/live-sxs/xml/System.Web/HttpContext.xml" data-original_content_git_url_template="{repo}/blob/{branch}/xml/System.Web/HttpContext.xml" data-pr_repo="" data-pr_branch="">
									<span class="icon" aria-hidden="true">
										<span class="docon docon-edit-outline"></span>
									</span>
									<span class="is-visually-hidden-touch is-hidden-portrait">编辑</span>
								</a>
							</li>
						<li>
<div class="sharing dropdown has-caret">
	<button class="dropdown-trigger button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small is-icon-only-touch" aria-controls="sharing-menu" aria-expanded="false" title="共享本文" data-bi-name="share">
		<span class="icon" aria-hidden="true">
			<span class="docon docon-sharing"></span>
		</span>
		<span class="is-visually-hidden-touch is-hidden-portrait">共享</span>
	</button>
	<div class="dropdown-menu has-padding-small" id="sharing-menu">
		<ul data-bi-name="share-links">
			<li>
				<a class="button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small share-twitter" data-bi-name="twitter" href="https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fdocs.microsoft.com%2Fzh-cn%2Fdotnet%2Fapi%2Fsystem.web.httpcontext%3Fview%3Dnetframework-4.8%26viewFallbackFrom%3Dnet-5.0%26WT.mc_id%3Dtwitter&amp;text=HttpContext%20%E7%B1%BB%20(System.Web)%20%7C%20Microsoft%20Docs&amp;tw_p=tweetbutton&amp;url=https%3A%2F%2Fdocs.microsoft.com%2Fzh-cn%2Fdotnet%2Fapi%2Fsystem.web.httpcontext%3Fview%3Dnetframework-4.8%26viewFallbackFrom%3Dnet-5.0%26WT.mc_id%3Dtwitter">
					<span class="icon">
						<span class="docon docon-brand-twitter has-text-primary" aria-hidden="true"></span>
					</span>
					<span>Twitter</span>
				</a>
			</li>
			<li>
				<a class="button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small share-linkedin" data-bi-name="linkedin" href="https://www.linkedin.com/cws/share?url=https%3A%2F%2Fdocs.microsoft.com%2Fzh-cn%2Fdotnet%2Fapi%2Fsystem.web.httpcontext%3Fview%3Dnetframework-4.8%26viewFallbackFrom%3Dnet-5.0%26WT.mc_id%3Dlinkedin">
					<span class="icon">
						<span class="docon docon-brand-linkedin has-text-primary" aria-hidden="true"></span>
					</span>
					<span>LinkedIn</span>
				</a>
			</li>
			<li>
				<a class="button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small share-facebook" data-bi-name="facebook" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.microsoft.com%2Fzh-cn%2Fdotnet%2Fapi%2Fsystem.web.httpcontext%3Fview%3Dnetframework-4.8%26viewFallbackFrom%3Dnet-5.0%26WT.mc_id%3Dfacebook">
					<span class="icon">
						<span class="docon docon-brand-facebook has-text-primary" aria-hidden="true"></span>
					</span>
					<span>Facebook</span>
				</a>
			</li>
			<li>
				<a class="button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small share-email" data-bi-name="email" href="mailto:?subject=%5B%E5%85%B1%E4%BA%AB%E6%96%87%E7%AB%A0%5D%20HttpContext%20%E7%B1%BB%20(System.Web)%20%7C%20Microsoft%20Docs&amp;body=HttpContext%20%E7%B1%BB%20(System.Web)%20%7C%20Microsoft%20Docs%0A%0Ahttps%3A%2F%2Fdocs.microsoft.com%2Fzh-cn%2Fdotnet%2Fapi%2Fsystem.web.httpcontext%3Fview%3Dnetframework-4.8%26viewFallbackFrom%3Dnet-5.0%26WT.mc_id%3Demail">
					<span class="icon">
						<span class="docon docon-mail-message-fill has-text-primary" aria-hidden="true"></span>
					</span>
					<span>电子邮件</span>
				</a>
			</li>
			<li>
				<span class="button is-text is-fullwidth has-flex-justify-content-start has-inner-focus is-small share-wechat has-padding-top-extra-small has-padding-left-medium has-padding-right-medium">
					<span class="icon">
						<span class="docon docon-wechat has-text-primary" data-bi-name="wechat" aria-hidden="true"></span>
					</span>
					<span>微信</span>
				</span>
			</li>
			<li>
				<canvas class="qr-code" height="96" width="96"></canvas>
			</li>
		</ul>
	</div>
</div>						</li>
					</ul>
					<button type="button" class="has-border contents-button button is-small is-text is-hidden-tablet has-inner-focus" aria-label="目录" data-bi-name="contents-expand">
						<span class="icon">
							<span class="docon docon-editor-list-bullet" aria-hidden="true"></span>
						</span>
						<span class="contents-expand-title">目录</span>
					</button>
					<div class="is-invisible"></div>
					<div class="is-hidden-tablet level-item is-flexible level-right">

<div class="language dropdown has-caret is-inline-block has-border-mobile">
	<button class="dropdown-trigger button is-text is-small" aria-controls="language-menu" aria-expanded="false" title="语言" data-bi-name="language">
		<span class="icon is-hidden-desktop has-margin-none">
			<span class="docon docon-code-lang" aria-hidden="true"></span>
		</span>
		<span class="lang-title is-visually-hidden-touch has-flex-align-self-start is-hidden-portrait" dir="ltr">C#</span>
		<span class="icon is-hidden-mobile is-hidden-tablet-only" aria-hidden="true">
			<span class="docon docon-chevron-down-light expanded-indicator"></span>
		</span>
	</button>
	<div class="dropdown-menu has-padding-small language-selector" name="language-selector" role="menu">
		<ul data-bi-name="language-links" dir="ltr">
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-csharp" tabindex="0" aria-selected="false">C#</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-vb" tabindex="0" aria-selected="false">VB</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-cpp" tabindex="0" aria-selected="false">C++</a>
			</li>
			<li>
				<a class="button is-text is-small is-fullwidth has-flex-justify-content-start" data-bi-name="lang-fsharp" tabindex="0" aria-selected="false">F#</a>
			</li>
		</ul>
	</div>
</div>						<button type="button" class="page-actions-button button is-small is-text is-hidden-tablet has-inner-focus has-border is-full-height  has-margin-left-small" aria-label="页面操作" data-bi-name="pageactions">
							<span class="icon">
								<span class="docon docon-more-vertical" aria-hidden="true"></span>
							</span>
						</button>
					</div>
				</div>
			</div>



		<div id="disclaimer-holder" class="has-overflow-hidden has-default-focus"><!----> <section data-dismissable="disappearing" class="is-info alert is-banner">
			<div class="uhf-container">
				<button data-dismiss="" type="button" class="delete is-absolute has-top-zero has-right-zero has-margin-extra-small is-large">
					<span class="visually-hidden"><!---->消除警报<!----></span>
				</button>
				<div class="columns">
					<div class="column is-12">
						<div class="level">
							<div class="level-left has-flex-shrink">
								<div class="level-item has-flex-shrink">
									<p class="has-text-white-static disclaimer-title has-margin-top-extra-small has-margin-right-medium has-line-height-reset">
										<span class="icon">
											<span class="docon docon-status-error-outline" aria-hidden="true"></span>
										</span>
										<span><!---->请求的页面对于 .NET 5 不可用。 已重定向到此页面针对的最新版产品的相应页面。<!----></span>
									</p>
								</div>
							</div>
							
						</div>
					</div>
				</div>
			</div>
		</section><!----></div>
	</div>

	<div class="mainContainer  uhf-container has-top-padding  has-default-focus" data-bi-name="body">

		<div class="columns has-large-gaps is-gapless-mobile ">

			<div id="left-container" class="left-container is-hidden-mobile column is-one-third-tablet is-one-quarter-desktop">
				<nav id="affixed-left-container" class="is-fixed is-flex is-flex-column" role="navigation" aria-label="主要" style="width: 320.25px; top: 24px; bottom: 24px;" data-bi-name="left toc"><div class="moniker-picker2" data-bi-name="moniker-picker"><!---->
		<span class="label has-margin-bottom-extra-small"><!---->版本<!----></span>
		<div class="dropdown has-margin-bottom-small">
			<button class="dropdown-trigger has-flex-justify-content-start is-full-width button is-small has-border has-inner-focus" aria-expanded="false" aria-controls="ax-117">
				<span class="visually-hidden"><!---->选择版本<!----></span>
				<span class="has-text-overflow-ellipsis"><!---->.NET Framework 4.8<!----></span>
				<span class="dropdown-button-chevron" aria-hidden="true">
					<span class="icon docon docon-chevron-down-light expanded-indicator"></span>
				</span>
			</button>
			<ul class="dropdown-menu is-full-width" id="ax-117" aria-label="产品">
						
						
						<!---->
		<li>
					<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=net-5.0"><!---->.NET 5<!----></a>
			  </li>
	<!---->
		<li class="dropdown">
					<button aria-expanded="false" class="dropdown-trigger button is-small has-border-none has-inner-focus has-flex has-flex-justify-content-start is-full-width has-text-wrap is-text-left" aria-controls="ax-119">
						<span><!---->.NET Core<!----></span>
						<span class="dropdown-button-chevron" aria-hidden="true">
							<span class="docon docon-chevron-right-light"></span>
						</span>
					</button>
					<ul class="dropdown-menu is-full-width is-vertically-scrollable" id="ax-119" aria-label=".NET Core">
						<!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-3.1"><!---->3.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-3.0"><!---->3.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-2.2"><!---->2.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-2.1"><!---->2.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-2.0"><!---->2.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-1.1"><!---->1.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netcore-1.0"><!---->1.0<!----></a>
		</li>
	<!----><!---->
						
					</ul>
			  </li>
	<!---->
		<li class="dropdown">
					<button aria-expanded="false" class="dropdown-trigger button is-small has-border-none has-inner-focus has-flex has-flex-justify-content-start is-full-width has-text-wrap is-text-left" aria-controls="ax-120">
						<span><!---->.NET Framework<!----></span>
						<span class="dropdown-button-chevron" aria-hidden="true">
							<span class="docon docon-chevron-right-light"></span>
						</span>
					</button>
					<ul class="dropdown-menu is-full-width is-vertically-scrollable" id="ax-120" aria-label=".NET Framework">
						<!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8"><!---->4.8<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.7.2"><!---->4.7.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.7.1"><!---->4.7.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.7"><!---->4.7<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.6.2"><!---->4.6.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.6.1"><!---->4.6.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.6"><!---->4.6<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.5.2"><!---->4.5.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.5.1"><!---->4.5.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.5"><!---->4.5<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.0"><!---->4.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-3.5"><!---->3.5<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-3.0"><!---->3.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-2.0"><!---->2.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-1.1"><!---->1.1<!----></a>
		</li>
	<!----><!---->
						
					</ul>
			  </li>
	<!---->
		<li class="dropdown">
					<button aria-expanded="false" class="dropdown-trigger button is-small has-border-none has-inner-focus has-flex has-flex-justify-content-start is-full-width has-text-wrap is-text-left" aria-controls="ax-121">
						<span><!---->.NET Platform Extensions<!----></span>
						<span class="dropdown-button-chevron" aria-hidden="true">
							<span class="docon docon-chevron-right-light"></span>
						</span>
					</button>
					<ul class="dropdown-menu is-full-width is-vertically-scrollable" id="ax-121" aria-label=".NET Platform Extensions">
						<!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-5.0"><!---->5.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-3.1"><!---->3.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-3.0"><!---->3.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-2.2"><!---->2.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-2.1"><!---->2.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-2.0"><!---->2.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-1.1"><!---->1.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-plat-ext-1.0"><!---->1.0<!----></a>
		</li>
	<!----><!---->
						
					</ul>
			  </li>
	<!---->
		<li class="dropdown">
					<button aria-expanded="false" class="dropdown-trigger button is-small has-border-none has-inner-focus has-flex has-flex-justify-content-start is-full-width has-text-wrap is-text-left" aria-controls="ax-122">
						<span><!---->.NET Standard<!----></span>
						<span class="dropdown-button-chevron" aria-hidden="true">
							<span class="docon docon-chevron-right-light"></span>
						</span>
					</button>
					<ul class="dropdown-menu is-full-width is-vertically-scrollable" id="ax-122" aria-label=".NET Standard">
						<!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-2.1"><!---->2.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-2.0"><!---->2.0<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.6"><!---->1.6<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.5"><!---->1.5<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.4"><!---->1.4<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.3"><!---->1.3<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.2"><!---->1.2<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.1"><!---->1.1<!----></a>
		</li>
	<!----><!----><!---->
		<li>
			<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netstandard-1.0"><!---->1.0<!----></a>
		</li>
	<!----><!---->
						
					</ul>
			  </li>
	<!---->
		<li>
					<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=dotnet-uwp-10.0"><!---->UWP 10.0<!----></a>
			  </li>
	<!---->
		<li>
					<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=xamarinandroid-7.1"><!---->Xamarin.Android 7.1<!----></a>
			  </li>
	<!---->
		<li>
					<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=xamarinios-10.8"><!---->Xamarin.iOS 10.8<!----></a>
			  </li>
	<!---->
		<li>
					<a class="preserve-view button is-small has-border-none has-inner-focus has-flex-justify-content-start is-full-width has-text-wrap is-text-left" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=xamarinmac-3.0"><!---->Xamarin.Mac 3.0<!----></a>
			  </li>
	<!---->
				  </ul>
		</div>
	<!----></div><form action="javascript:" role="search" aria-label="搜索" class="has-margin-bottom-small"><label class="visually-hidden" for="ax-114">搜索</label><div class="autocomplete is-block" data-bi-name="autocomplete"><!----> <div class="control has-icons-left">
				<input role="combobox" maxlength="100" aria-autocomplete="list" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" id="ax-114" class="autocomplete-input input control has-icons-left is-full-width is-small" type="text" aria-expanded="false" aria-owns="ax-115-listbox" aria-activedescendant="" placeholder="搜索">

				<span aria-hidden="true" class="icon is-small is-left">
					<span class="has-text-primary docon docon-search"></span>
				</span>

				<span aria-hidden="true" class="autocomplete-loader loader has-text-primary " hidden=""></span>
			</div>

			<ul class="autocomplete-suggestions is-vertically-scrollable" role="listbox" id="ax-115-listbox" aria-label="ax-114-suggestions" hidden="">
				
			</ul><!----></div></form><ul class="tree is-vertically-scrollable has-flex-grow has-flex-shrink" role="tree" aria-label="目录" data-bi-name="tree" data-is-collapsible="true"><li data-moniker="dotnet-plat-ext-3.0 dotnet-plat-ext-3.1 dotnet-plat-ext-5.0 net-5.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netstandard-2.0 netstandard-2.1 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="1" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web?view=netframework-4.8">System.<wbr>Web</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="2" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.applicationshutdownreason?view=netframework-4.8">ApplicationShutdownReason</a></li><li data-moniker="dotnet-plat-ext-3.0 dotnet-plat-ext-3.1 dotnet-plat-ext-5.0 net-5.0 netcore-3.0 netcore-3.1 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 xamarinmac-3.0" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="3" role="treeitem" tabindex="-1" id="title-3-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>AspNetHostingPermission</span></li><li data-moniker="dotnet-plat-ext-3.0 dotnet-plat-ext-3.1 dotnet-plat-ext-5.0 net-5.0 netcore-3.0 netcore-3.1 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 xamarinmac-3.0" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="4" role="treeitem" tabindex="-1" id="title-4-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>AspNetHostingPermissionAttribute</span></li><li data-moniker="dotnet-plat-ext-3.0 dotnet-plat-ext-3.1 dotnet-plat-ext-5.0 net-5.0 netcore-3.0 netcore-3.1 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 xamarinmac-3.0" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="5" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.aspnethostingpermissionlevel?view=netframework-4.8">AspNetHostingPermissionLevel</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="6" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.begineventhandler?view=netframework-4.8">BeginEventHandler</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="7" role="treeitem" tabindex="-1" id="title-7-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>DefaultHttpHandler</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="8" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.endeventhandler?view=netframework-4.8">EndEventHandler</a></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="9" role="treeitem" tabindex="-1" id="title-9-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>EventHandlerTaskAsyncHelper</span></li><li data-moniker="netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="10" role="treeitem" tabindex="-1" id="title-10-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HtmlString</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="11" role="treeitem" tabindex="-1" id="title-11-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpApplication</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="12" role="treeitem" tabindex="-1" id="title-12-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpApplicationState</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="13" role="treeitem" tabindex="-1" id="title-13-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpApplicationStateBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="14" role="treeitem" tabindex="-1" id="title-14-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpApplicationStateWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="15" role="treeitem" tabindex="-1" id="title-15-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpBrowserCapabilities</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="16" role="treeitem" tabindex="-1" id="title-16-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpBrowserCapabilitiesBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="17" role="treeitem" tabindex="-1" id="title-17-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpBrowserCapabilitiesWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="18" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcacheability?view=netframework-4.8">HttpCacheability</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="19" role="treeitem" tabindex="-1" id="title-19-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCachePolicy</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="20" role="treeitem" tabindex="-1" id="title-20-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCachePolicyBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="21" role="treeitem" tabindex="-1" id="title-21-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCachePolicyWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="22" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcacherevalidation?view=netframework-4.8">HttpCacheRevalidation</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="23" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcachevalidatehandler?view=netframework-4.8">HttpCacheValidateHandler</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="24" role="treeitem" tabindex="-1" id="title-24-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCacheVaryByContentEncodings</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="25" role="treeitem" tabindex="-1" id="title-25-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCacheVaryByHeaders</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="26" role="treeitem" tabindex="-1" id="title-26-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCacheVaryByParams</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="27" role="treeitem" tabindex="-1" id="title-27-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpClientCertificate</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="28" role="treeitem" tabindex="-1" id="title-28-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCompileException</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item is-expanded" aria-setsize="108" aria-level="1" aria-posinset="29" role="treeitem" tabindex="-1" id="title-29-1" aria-expanded="true"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpContext</span><ul class="tree-group" role="group"><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="5" aria-level="2" aria-posinset="1" role="treeitem" tabindex="0" class="tree-item is-leaf has-external-link-indicator is-selected" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" aria-current="page">HttpContext</a></li><li role="none"><a aria-setsize="5" aria-level="2" aria-posinset="2" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.-ctor?view=netframework-4.8">构造函数</a></li><li class="tree-item" aria-setsize="5" aria-level="2" aria-posinset="3" role="treeitem" tabindex="-1" id="title-29-1_3-2" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>属性</span></li><li class="tree-item" aria-setsize="5" aria-level="2" aria-posinset="4" role="treeitem" tabindex="-1" id="title-29-1_4-2" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>方法</span></li><li class="tree-item" aria-setsize="5" aria-level="2" aria-posinset="5" role="treeitem" tabindex="-1" id="title-29-1_5-2" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>显式接口实现</span></li></ul></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="30" role="treeitem" tabindex="-1" id="title-30-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpContextBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="31" role="treeitem" tabindex="-1" id="title-31-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpContextWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="32" role="treeitem" tabindex="-1" id="title-32-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCookie</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="33" role="treeitem" tabindex="-1" id="title-33-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpCookieCollection</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="34" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcookiemode?view=netframework-4.8">HttpCookieMode</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="35" role="treeitem" tabindex="-1" id="title-35-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpException</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="36" role="treeitem" tabindex="-1" id="title-36-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpFileCollection</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="37" role="treeitem" tabindex="-1" id="title-37-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpFileCollectionBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="38" role="treeitem" tabindex="-1" id="title-38-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpFileCollectionWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="39" role="treeitem" tabindex="-1" id="title-39-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpModuleCollection</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="40" role="treeitem" tabindex="-1" id="title-40-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpParseException</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="41" role="treeitem" tabindex="-1" id="title-41-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpPostedFile</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="42" role="treeitem" tabindex="-1" id="title-42-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpPostedFileBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="43" role="treeitem" tabindex="-1" id="title-43-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpPostedFileWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="44" role="treeitem" tabindex="-1" id="title-44-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpRequest</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="45" role="treeitem" tabindex="-1" id="title-45-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpRequestBase</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="46" role="treeitem" tabindex="-1" id="title-46-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpRequestValidationException</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="47" role="treeitem" tabindex="-1" id="title-47-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpRequestWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="48" role="treeitem" tabindex="-1" id="title-48-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpResponse</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="49" role="treeitem" tabindex="-1" id="title-49-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpResponseBase</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="50" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpresponsesubstitutioncallback?view=netframework-4.8">HttpResponseSubstitutionCallback</a></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="51" role="treeitem" tabindex="-1" id="title-51-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpResponseWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="52" role="treeitem" tabindex="-1" id="title-52-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpRuntime</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="53" role="treeitem" tabindex="-1" id="title-53-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpServerUtility</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="54" role="treeitem" tabindex="-1" id="title-54-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpServerUtilityBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="55" role="treeitem" tabindex="-1" id="title-55-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpServerUtilityWrapper</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="56" role="treeitem" tabindex="-1" id="title-56-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpSessionStateBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="57" role="treeitem" tabindex="-1" id="title-57-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpSessionStateWrapper</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="58" role="treeitem" tabindex="-1" id="title-58-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpStaticObjectsCollection</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="59" role="treeitem" tabindex="-1" id="title-59-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpStaticObjectsCollectionBase</span></li><li data-moniker="netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="60" role="treeitem" tabindex="-1" id="title-60-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpStaticObjectsCollectionWrapper</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="61" role="treeitem" tabindex="-1" id="title-61-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpTaskAsyncHandler</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="62" role="treeitem" tabindex="-1" id="title-62-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpUnhandledException</span></li><li data-moniker="net-5.0 netcore-2.0 netcore-2.1 netcore-2.2 netcore-3.0 netcore-3.1 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netstandard-2.0 netstandard-2.1 xamarinandroid-7.1 xamarinios-10.8 xamarinmac-3.0" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="63" role="treeitem" tabindex="-1" id="title-63-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpUtility</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="64" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpvalidationstatus?view=netframework-4.8">HttpValidationStatus</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="65" role="treeitem" tabindex="-1" id="title-65-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpWorkerRequest</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="66" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpworkerrequest.endofsendnotification?view=netframework-4.8">HttpWorkerRequest.<wbr>EndOfSendNotification</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="67" role="treeitem" tabindex="-1" id="title-67-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>HttpWriter</span></li><li data-moniker="netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="68" role="treeitem" tabindex="-1" id="title-68-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IHtmlString</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="69" role="treeitem" tabindex="-1" id="title-69-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IHttpAsyncHandler</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="70" role="treeitem" tabindex="-1" id="title-70-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IHttpHandler</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="71" role="treeitem" tabindex="-1" id="title-71-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IHttpHandlerFactory</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="72" role="treeitem" tabindex="-1" id="title-72-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IHttpModule</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="73" role="treeitem" tabindex="-1" id="title-73-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IisTraceListener</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="74" role="treeitem" tabindex="-1" id="title-74-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>IPartitionResolver</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="75" role="treeitem" tabindex="-1" id="title-75-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ISubscriptionToken</span></li><li data-moniker="netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="76" role="treeitem" tabindex="-1" id="title-76-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ITlsTokenBindingInfo</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="77" role="treeitem" tabindex="-1" id="title-77-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>MimeMapping</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="78" role="treeitem" tabindex="-1" id="title-78-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ParserError</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="79" role="treeitem" tabindex="-1" id="title-79-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ParserErrorCollection</span></li><li data-moniker="netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="80" role="treeitem" tabindex="-1" id="title-80-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>PreApplicationStartMethodAttribute</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="81" role="treeitem" tabindex="-1" id="title-81-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ProcessInfo</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="82" role="treeitem" tabindex="-1" id="title-82-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>ProcessModelInfo</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="83" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.processshutdownreason?view=netframework-4.8">ProcessShutdownReason</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="84" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.processstatus?view=netframework-4.8">ProcessStatus</a></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="85" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.readentitybodymode?view=netframework-4.8">ReadEntityBodyMode</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="86" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.requestnotification?view=netframework-4.8">RequestNotification</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="87" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.requestnotificationstatus?view=netframework-4.8">RequestNotificationStatus</a></li><li data-moniker="netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="88" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.samesitemode?view=netframework-4.8">SameSiteMode</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="89" role="treeitem" tabindex="-1" id="title-89-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMap</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="90" role="treeitem" tabindex="-1" id="title-90-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMapNode</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="91" role="treeitem" tabindex="-1" id="title-91-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMapNodeCollection</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="92" role="treeitem" tabindex="-1" id="title-92-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMapProvider</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="93" role="treeitem" tabindex="-1" id="title-93-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMapProviderCollection</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="94" role="treeitem" tabindex="-1" id="title-94-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>SiteMapResolveEventArgs</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="95" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.sitemapresolveeventhandler?view=netframework-4.8">SiteMapResolveEventHandler</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="96" role="treeitem" tabindex="-1" id="title-96-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>StaticSiteMapProvider</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="97" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.taskeventhandler?view=netframework-4.8">TaskEventHandler</a></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="98" role="treeitem" tabindex="-1" id="title-98-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>TraceContext</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="99" role="treeitem" tabindex="-1" id="title-99-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>TraceContextEventArgs</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="100" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.tracecontexteventhandler?view=netframework-4.8">TraceContextEventHandler</a></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="101" role="treeitem" tabindex="-1" id="title-101-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>TraceContextRecord</span></li><li data-moniker="netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" role="none"><a aria-setsize="108" aria-level="1" aria-posinset="102" role="treeitem" tabindex="-1" class="tree-item is-leaf has-external-link-indicator" data-bi-name="tree-leaf" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.tracemode?view=netframework-4.8">TraceMode</a></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="103" role="treeitem" tabindex="-1" id="title-103-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>UnvalidatedRequestValues</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="104" role="treeitem" tabindex="-1" id="title-104-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>UnvalidatedRequestValuesBase</span></li><li data-moniker="netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="105" role="treeitem" tabindex="-1" id="title-105-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>UnvalidatedRequestValuesWrapper</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="106" role="treeitem" tabindex="-1" id="title-106-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>VirtualPathUtility</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="107" role="treeitem" tabindex="-1" id="title-107-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>WebPageTraceListener</span></li><li data-moniker="netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8" class="tree-item" aria-setsize="108" aria-level="1" aria-posinset="108" role="treeitem" tabindex="-1" id="title-108-1" aria-expanded="false"><span data-bi-name="tree-expander" class="tree-expander"><span class="tree-expander-indicator docon docon-chevron-right-light" aria-hidden="true"></span>XmlSiteMapProvider</span></li></ul></nav>
			</div>

			<section class="primary-holder column is-two-thirds-tablet is-three-quarters-desktop">
				<div class="columns is-gapless-mobile has-large-gaps ">


				<div id="main-column" class="column  is-full is-four-fifths-desktop ">

					<main id="main" role="main" class="content " data-bi-name="content" lang="zh-cn" dir="ltr">



						


						<!-- <content> -->
							<h1>Http<wbr>Context 类</h1>

<h2 class="hiddenAnchor" id="definition">定义</h2>

<div class="metadata">
		<dl class="attributeList">
			<dt>命名空间:</dt>
			<dd>
				<span class="break-text">   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web?view=netframework-4.8" data-linktype="relative-path">System.<wbr>Web</a> </span>
			</dd>
		</dl>


		<dl class="attributeList" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">
			<dt>程序集:</dt><dd>System.Web.dll</dd>
		</dl>


</div>
	<div class="summaryHolder">
		<div class="summary clearFix">
			<p><span data-ttu-id="39a6b-101">封装有关个别 HTTP 请求的所有 HTTP 特定的信息。</span><span class="sxs-lookup"><span data-stu-id="39a6b-101">Encapsulates all HTTP-specific information about an individual HTTP request.</span></span></p>

		</div>
	</div>
<nav id="center-doc-outline" class="doc-outline is-hidden-desktop" data-bi-name="intopic toc" role="navigation" aria-label="On page navigation">
  <h3>本文内容</h3>
<ol><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#definition">定义</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#examples">示例</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#remarks">注解</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#constructors">构造函数</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#properties">属性</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#methods">方法</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#explicit-interface-implementations">显式接口实现</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#---">适用于</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#see-also">另请参阅</a></li></ol></nav>
	<pre class="wrap has-inner-focus" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 " tabindex="0" hidden=""><code class="cpp lang-cpp" dir="ltr" data-author-content="public ref class HttpContext sealed : IServiceProvider">public ref class HttpContext sealed : IServiceProvider</code></pre>
	<div class="codeHeader" id="code-try-0" data-bi-name="code-header" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 "><span class="language">C#</span><button type="button" class="action is-relative" data-bi-name="copy" aria-label="复制代码">
				<span class="icon">
					<span class="docon docon-edit-copy" role="presentation"></span>
				</span>
				<span>复制</span>
				<div class="successful-copy-alert is-absolute has-right-zero has-top-zero has-left-zero has-bottom-zero is-flex has-flex-align-items-center has-flex-justify-content-center has-text-success-invert has-background-success is-transparent" aria-hidden="true">
					<span class="icon is-size-large">
						<span class="docon docon-check-mark" role="presentation"></span>
					</span>
				</div>
			</button></div><pre class="wrap has-inner-focus" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 " tabindex="0"><code class="csharp lang-csharp" dir="ltr" data-author-content="public sealed class HttpContext : IServiceProvider"><span><span class="hljs-keyword">public</span> <span class="hljs-keyword">sealed</span> <span class="hljs-keyword">class</span> <span class="hljs-title">HttpContext</span> : <span class="hljs-title">IServiceProvider</span></span></code></pre>
	<pre class="wrap has-inner-focus" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 " tabindex="0" hidden=""><code class="fsharp lang-fsharp" dir="ltr" data-author-content="type HttpContext = class
    interface IServiceProvider">type HttpContext = class
    interface IServiceProvider</code></pre>
	<pre class="wrap has-inner-focus" data-moniker=" netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 " tabindex="0" hidden=""><code class="vb lang-vb" dir="ltr" data-author-content="Public NotInheritable Class HttpContext
Implements IServiceProvider">Public NotInheritable Class HttpContext
Implements IServiceProvider</code></pre>

		<dl class="attributeList stack">
			<dt>继承</dt>
			<dd>
				<div class="pdlHolder">
					 <div class="pdl"><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a></div> 
					 <span>HttpContext</span> 
				</div>
			</dd>
		</dl>
	<dl class="attributeList stack">
		<dt>实现</dt><dd>
		<div class="cdlHolder">
				<span class="cdl">
					<span class="break-text"><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.iserviceprovider?view=netframework-4.8" data-linktype="relative-path">IServiceProvider</a></span>
				</span>
		</div>
		</dd>
	</dl>
	<h2 id="examples" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#examples" aria-labelledby="examples"></a>示例</h2>
	<p><span data-ttu-id="39a6b-108">下面的示例演示如何访问和显示对象的属性 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> 。</span><span class="sxs-lookup"><span data-stu-id="39a6b-108">The following example demonstrates how to access and display properties of the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> object.</span></span> <span data-ttu-id="39a6b-109">使用对象的属性访问当前 HTTP 请求的上下文 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.page.context?view=netframework-4.8" data-linktype="relative-path">Context</a> <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.page?view=netframework-4.8" data-linktype="relative-path">Page</a> 。</span><span class="sxs-lookup"><span data-stu-id="39a6b-109">The context of the current HTTP request is accessed by using the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.page.context?view=netframework-4.8" data-linktype="relative-path">Context</a> property of the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ui.page?view=netframework-4.8" data-linktype="relative-path">Page</a> object.</span></span></p>
<div class="codeHeader" id="code-try-1" data-bi-name="code-header"><span class="language">ASP.NET (C#)</span><button type="button" class="action is-relative" data-bi-name="copy" aria-label="复制代码">
				<span class="icon">
					<span class="docon docon-edit-copy" role="presentation"></span>
				</span>
				<span>复制</span>
				<div class="successful-copy-alert is-absolute has-right-zero has-top-zero has-left-zero has-bottom-zero is-flex has-flex-align-items-center has-flex-justify-content-center has-text-success-invert has-background-success is-transparent" aria-hidden="true">
					<span class="icon is-size-large">
						<span class="docon docon-check-mark" role="presentation"></span>
					</span>
				</div>
			</button></div><pre tabindex="0" class="has-inner-focus"><code class="lang-aspx-csharp" name="System.Web.HttpContext#1" data-author-content="&lt;%@ Page Language=&quot;C#&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;script runat=&quot;server&quot;&gt;

    protected void Page_Load(object sender, EventArgs e)
    {
        // The HttpContext associated with the page can be accessed by the Context property.
        System.Text.StringBuilder sb = new System.Text.StringBuilder();
        // Use the current HttpContext object to determine if custom errors are enabled.
        sb.Append(&quot;Is custom errors enabled: &quot; +
            Context.IsCustomErrorEnabled.ToString() + &quot;&lt;br/&gt;&quot;);

        // Use the current HttpContext object to determine if debugging is enabled.
        sb.Append(&quot;Is debugging enabled: &quot; +
            Context.IsDebuggingEnabled.ToString() + &quot;&lt;br/&gt;&quot;);

        // Use the current HttpContext object to access the current TraceContext object.
        sb.Append(&quot;Trace Enabled: &quot; +
            Context.Trace.IsEnabled.ToString() + &quot;&lt;br/&gt;&quot;);

        // Use the current HttpContext object to access the current HttpApplicationState object.
        sb.Append(&quot;Number of items in Application state: &quot; +
            Context.Application.Count.ToString() + &quot;&lt;br/&gt;&quot;);

        // Use the current HttpContext object to access the current HttpSessionState object.
        // Session state may not be configured.
        try
        {
            sb.Append(&quot;Number of items in Session state: &quot; +
                Context.Session.Count.ToString() + &quot;&lt;br/&gt;&quot;);
        }
        catch
        {
            sb.Append(&quot;Session state not enabled. &lt;br/&gt;&quot;);
        }

        // Use the current HttpContext object to access the current Cache object.
        sb.Append(&quot;Number of items in the cache: &quot; +
            Context.Cache.Count.ToString() + &quot;&lt;br/&gt;&quot;);

        // Use the current HttpContext object to determine the timestamp for the current HTTP Request.
        sb.Append(&quot;Timestamp for the HTTP request: &quot; +
            Context.Timestamp.ToString() + &quot;&lt;br/&gt;&quot;);

        // Assign StringBuilder object to output label.
        OutputLabel.Text = sb.ToString();
    }
&lt;/script&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;HttpContext Example&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;div&gt;
       Using the current HttpContext to get information about the current page.
       &lt;br /&gt;
       &lt;asp:Label id=&quot;OutputLabel&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;           
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
"><span><span class="hljs-tag">&lt;<span class="hljs-name">%@</span> <span class="hljs-attr">Page</span> <span class="hljs-attr">Language</span>=<span class="hljs-string">"C#"</span> %&gt;</span>

<span class="hljs-meta">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</span>

<span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">runat</span>=<span class="hljs-string">"server"</span>&gt;</span><span class="cs">

    <span class="hljs-function"><span class="hljs-keyword">protected</span> <span class="hljs-keyword">void</span> <span class="hljs-title">Page_Load</span>(<span class="hljs-params"><span class="hljs-keyword">object</span> sender, EventArgs e</span>)</span>
    {
        <span class="hljs-comment">// The HttpContext associated with the page can be accessed by the Context property.</span>
        System.Text.StringBuilder sb = <span class="hljs-keyword">new</span> System.Text.StringBuilder();
        <span class="hljs-comment">// Use the current HttpContext object to determine if custom errors are enabled.</span>
        sb.Append(<span class="hljs-string">"Is custom errors enabled: "</span> +
            Context.IsCustomErrorEnabled.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Use the current HttpContext object to determine if debugging is enabled.</span>
        sb.Append(<span class="hljs-string">"Is debugging enabled: "</span> +
            Context.IsDebuggingEnabled.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Use the current HttpContext object to access the current TraceContext object.</span>
        sb.Append(<span class="hljs-string">"Trace Enabled: "</span> +
            Context.Trace.IsEnabled.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Use the current HttpContext object to access the current HttpApplicationState object.</span>
        sb.Append(<span class="hljs-string">"Number of items in Application state: "</span> +
            Context.Application.Count.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Use the current HttpContext object to access the current HttpSessionState object.</span>
        <span class="hljs-comment">// Session state may not be configured.</span>
        <span class="hljs-keyword">try</span>
        {
            sb.Append(<span class="hljs-string">"Number of items in Session state: "</span> +
                Context.Session.Count.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);
        }
        <span class="hljs-keyword">catch</span>
        {
            sb.Append(<span class="hljs-string">"Session state not enabled. &lt;br/&gt;"</span>);
        }

        <span class="hljs-comment">// Use the current HttpContext object to access the current Cache object.</span>
        sb.Append(<span class="hljs-string">"Number of items in the cache: "</span> +
            Context.Cache.Count.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Use the current HttpContext object to determine the timestamp for the current HTTP Request.</span>
        sb.Append(<span class="hljs-string">"Timestamp for the HTTP request: "</span> +
            Context.Timestamp.ToString() + <span class="hljs-string">"&lt;br/&gt;"</span>);

        <span class="hljs-comment">// Assign StringBuilder object to output label.</span>
        OutputLabel.Text = sb.ToString();
    }
</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>

<span class="hljs-tag">&lt;<span class="hljs-name">html</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"http://www.w3.org/1999/xhtml"</span> &gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span> <span class="hljs-attr">runat</span>=<span class="hljs-string">"server"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>HttpContext Example<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"form1"</span> <span class="hljs-attr">runat</span>=<span class="hljs-string">"server"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>
       Using the current HttpContext to get information about the current page.
       <span class="hljs-tag">&lt;<span class="hljs-name">br</span> /&gt;</span>
       <span class="hljs-tag">&lt;<span class="hljs-name">asp:Label</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"OutputLabel"</span> <span class="hljs-attr">runat</span>=<span class="hljs-string">"server"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">asp:Label</span>&gt;</span>           
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</span></code></pre><pre tabindex="0" class="has-inner-focus" hidden=""><code class="lang-aspx-vb" name="System.Web.HttpContext#1" data-author-content="&lt;%@ Page Language=&quot;VB&quot; %&gt;

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;

&lt;script runat=&quot;server&quot;&gt;

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        &#39; The HttpContext associated with the page can be accessed by the Context property.
        Dim sb As New System.Text.StringBuilder()

        &#39; Use the current HttpContext object to determine if custom errors are enabled.
        sb.Append(&quot;Is custom errors enabled: &quot; &amp; _
            Context.IsCustomErrorEnabled.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Use the current HttpContext object to determine if debugging is enabled.
        sb.Append(&quot;Is debugging enabled: &quot; &amp; _
            Context.IsDebuggingEnabled.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Use the current HttpContext object to access the current TraceContext object.
        sb.Append(&quot;Trace Enabled: &quot; &amp; _
            Context.Trace.IsEnabled.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Use the current HttpContext object to access the current HttpApplicationState object.
        sb.Append(&quot;Number of items in Application state: &quot; &amp; _
            Context.Application.Count.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Use the current HttpContext object to access the current HttpSessionState object.
        &#39; Session state may not be configured.
        Try
            sb.Append(&quot;Number of items in Session state: &quot; &amp; _
                Context.Session.Count.ToString() &amp; &quot;&lt;br/&gt;&quot;)
        Catch ex As Exception
            sb.Append(&quot;Session state not enabled. &lt;br/&gt;&quot;)
        End Try

        &#39; Use the current HttpContext object to access the current Cache object.
        sb.Append(&quot;Number of items in the cache: &quot; &amp; _
            Context.Cache.Count.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Use the current HttpContext object to determine the timestamp for the current HTTP Request.
        sb.Append(&quot;Timestamp for the HTTP request: &quot; &amp; _
            Context.Timestamp.ToString() &amp; &quot;&lt;br/&gt;&quot;)

        &#39; Assign StringBuilder object to output label.
        OutputLabel.Text = sb.ToString()
    End Sub
&lt;/script&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;
&lt;head runat=&quot;server&quot;&gt;
    &lt;title&gt;HttpContext Example&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;
    &lt;div&gt;
       Using the current HttpContext to get information about the current page.
       &lt;br /&gt;
       &lt;asp:Label id=&quot;OutputLabel&quot; runat=&quot;server&quot;&gt;&lt;/asp:Label&gt;           
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
">&lt;%@ Page Language="VB" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;script runat="server"&gt;

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        ' The HttpContext associated with the page can be accessed by the Context property.
        Dim sb As New System.Text.StringBuilder()

        ' Use the current HttpContext object to determine if custom errors are enabled.
        sb.Append("Is custom errors enabled: " &amp; _
            Context.IsCustomErrorEnabled.ToString() &amp; "&lt;br/&gt;")

        ' Use the current HttpContext object to determine if debugging is enabled.
        sb.Append("Is debugging enabled: " &amp; _
            Context.IsDebuggingEnabled.ToString() &amp; "&lt;br/&gt;")

        ' Use the current HttpContext object to access the current TraceContext object.
        sb.Append("Trace Enabled: " &amp; _
            Context.Trace.IsEnabled.ToString() &amp; "&lt;br/&gt;")

        ' Use the current HttpContext object to access the current HttpApplicationState object.
        sb.Append("Number of items in Application state: " &amp; _
            Context.Application.Count.ToString() &amp; "&lt;br/&gt;")

        ' Use the current HttpContext object to access the current HttpSessionState object.
        ' Session state may not be configured.
        Try
            sb.Append("Number of items in Session state: " &amp; _
                Context.Session.Count.ToString() &amp; "&lt;br/&gt;")
        Catch ex As Exception
            sb.Append("Session state not enabled. &lt;br/&gt;")
        End Try

        ' Use the current HttpContext object to access the current Cache object.
        sb.Append("Number of items in the cache: " &amp; _
            Context.Cache.Count.ToString() &amp; "&lt;br/&gt;")

        ' Use the current HttpContext object to determine the timestamp for the current HTTP Request.
        sb.Append("Timestamp for the HTTP request: " &amp; _
            Context.Timestamp.ToString() &amp; "&lt;br/&gt;")

        ' Assign StringBuilder object to output label.
        OutputLabel.Text = sb.ToString()
    End Sub
&lt;/script&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
    &lt;title&gt;HttpContext Example&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
       Using the current HttpContext to get information about the current page.
       &lt;br /&gt;
       &lt;asp:Label id="OutputLabel" runat="server"&gt;&lt;/asp:Label&gt;           
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

	<h2 id="remarks" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#remarks" aria-labelledby="remarks"></a>注解</h2>
	<p><span data-ttu-id="39a6b-102">继承 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttpmodule?view=netframework-4.8" data-linktype="relative-path">IHttpModule</a> 和接口的类 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> 提供 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> 当前 HTTP 请求的对象的引用。</span><span class="sxs-lookup"><span data-stu-id="39a6b-102">Classes that inherit the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttpmodule?view=netframework-4.8" data-linktype="relative-path">IHttpModule</a> and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> interfaces are provided a reference to an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> object for the current HTTP request.</span></span> <span data-ttu-id="39a6b-103">对象提供对请求的内部 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.request?view=netframework-4.8" data-linktype="relative-path">Request</a> 、 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.response?view=netframework-4.8" data-linktype="relative-path">Response</a> 和属性的访问 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.server?view=netframework-4.8" data-linktype="relative-path">Server</a> 。</span><span class="sxs-lookup"><span data-stu-id="39a6b-103">The object provides access to the intrinsic <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.request?view=netframework-4.8" data-linktype="relative-path">Request</a>, <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.response?view=netframework-4.8" data-linktype="relative-path">Response</a>, and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.server?view=netframework-4.8" data-linktype="relative-path">Server</a> properties for the request.</span></span></p>
<div class="alert is-primary">
<p class="alert-title"><span class="docon docon-status-info-outline" aria-hidden="true"></span> 重要</p>
<p><span data-ttu-id="39a6b-104">完成后，此对象可用于垃圾回收 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httprequest?view=netframework-4.8" data-linktype="relative-path">HttpRequest</a> 。</span><span class="sxs-lookup"><span data-stu-id="39a6b-104">This object is ready for garbage collection when the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httprequest?view=netframework-4.8" data-linktype="relative-path">HttpRequest</a> is completed.</span></span> <span data-ttu-id="39a6b-105">请求完成后，其使用可能导致未定义的行为，例如 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.nullreferenceexception?view=netframework-4.8" data-linktype="relative-path">NullReferenceException</a> 。</span><span class="sxs-lookup"><span data-stu-id="39a6b-105">Its usage after the request completes could lead to undefined behavior, such as a <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.nullreferenceexception?view=netframework-4.8" data-linktype="relative-path">NullReferenceException</a>.</span></span></p>
<p><span data-ttu-id="39a6b-106">此对象仅在由 ASP.NET 控制的线程中可用。</span><span class="sxs-lookup"><span data-stu-id="39a6b-106">This object is only available in the thread controlled by ASP.NET.</span></span> <span data-ttu-id="39a6b-107">后台线程中的使用情况可能导致未定义的行为。</span><span class="sxs-lookup"><span data-stu-id="39a6b-107">Usage in background threads could lead to undefined behavior.</span></span></p>
</div>



	<h2 id="constructors" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#constructors" aria-labelledby="constructors"></a>
		构造函数
	</h2>
	<div class="table-scroll-wrapper"><table class="nameValue table is-left-aligned is-stacked-mobile"><caption class="visually-hidden">构造函数</caption>
        	<tbody><tr>
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.-ctor?view=netframework-4.8#System_Web_HttpContext__ctor_System_Web_HttpRequest_System_Web_HttpResponse_" data-linktype="relative-path">Http<wbr>Context(Http<wbr>Request, Http<wbr>Response)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-116">使用指定的请求和响应对象初始化 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> 类的新实例。</span><span class="sxs-lookup"><span data-stu-id="39a6b-116">Initializes a new instance of the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> class by using the specified request and response objects.</span></span></p>

	</td>

        	</tr>
        	<tr>
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.-ctor?view=netframework-4.8#System_Web_HttpContext__ctor_System_Web_HttpWorkerRequest_" data-linktype="relative-path">Http<wbr>Context(Http<wbr>Worker<wbr>Request)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-113">使用指定的辅助请求对象初始化 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> 类的新实例。</span><span class="sxs-lookup"><span data-stu-id="39a6b-113">Initializes a new instance of the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> class that uses the specified worker-request object.</span></span></p>

	</td>

        	</tr>
	</tbody></table></div>


	<h2 id="properties" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#properties" aria-labelledby="properties"></a>
		属性
	</h2>
	<div class="table-scroll-wrapper"><table class="nameValue table is-left-aligned is-stacked-mobile"><caption class="visually-hidden">属性</caption>
        	<tbody><tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.allerrors?view=netframework-4.8#System_Web_HttpContext_AllErrors" data-linktype="relative-path">All<wbr>Errors</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-135">获取在处理 HTTP 请求的过程中累积的错误数组。</span><span class="sxs-lookup"><span data-stu-id="39a6b-135">Gets an array of errors accumulated while processing an HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.allowasyncduringsyncstages?view=netframework-4.8#System_Web_HttpContext_AllowAsyncDuringSyncStages" data-linktype="relative-path">Allow<wbr>Async<wbr>During<wbr>Sync<wbr>Stages</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-137">获取或设置一个值，此值指示 ASP.NET 请求处理过程中是否允许非预期的异步操作。</span><span class="sxs-lookup"><span data-stu-id="39a6b-137">Gets or sets a value that indicates whether asynchronous operations are allowed during parts of ASP.NET request processing when they are not expected.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.application?view=netframework-4.8#System_Web_HttpContext_Application" data-linktype="relative-path">Application</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-143">为当前 HTTP 请求获取 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplicationstate?view=netframework-4.8" data-linktype="relative-path">HttpApplicationState</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-143">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplicationstate?view=netframework-4.8" data-linktype="relative-path">HttpApplicationState</a> object for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.applicationinstance?view=netframework-4.8#System_Web_HttpContext_ApplicationInstance" data-linktype="relative-path">Application<wbr>Instance</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-148">为当前 HTTP 请求获取或设置 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-148">Gets or sets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> object for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.asyncpreloadmode?view=netframework-4.8#System_Web_HttpContext_AsyncPreloadMode" data-linktype="relative-path">Async<wbr>Preload<wbr>Mode</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-153">获取或设置包含适用于异步预加载模式的标志的对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-153">Gets or sets an object that contains flags that pertain to asynchronous preload mode.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.cache?view=netframework-4.8#System_Web_HttpContext_Cache" data-linktype="relative-path">Cache</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-157">获取当前应用程序域的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.caching.cache?view=netframework-4.8" data-linktype="relative-path">Cache</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-157">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.caching.cache?view=netframework-4.8" data-linktype="relative-path">Cache</a> object for the current application domain.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.current?view=netframework-4.8#System_Web_HttpContext_Current" data-linktype="relative-path">Current</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-162">为当前 HTTP 请求获取或设置 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-162">Gets or sets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8" data-linktype="relative-path">HttpContext</a> object for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.currenthandler?view=netframework-4.8#System_Web_HttpContext_CurrentHandler" data-linktype="relative-path">Current<wbr>Handler</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-171">获取表示当前正在执行的处理程序的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-171">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> object that represents the currently executing handler.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.currentnotification?view=netframework-4.8#System_Web_HttpContext_CurrentNotification" data-linktype="relative-path">Current<wbr>Notification</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-177">获取一个 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.requestnotification?view=netframework-4.8" data-linktype="relative-path">RequestNotification</a> 值，该值指示当前正在处理的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> 事件。</span><span class="sxs-lookup"><span data-stu-id="39a6b-177">Gets a <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.requestnotification?view=netframework-4.8" data-linktype="relative-path">RequestNotification</a> value that indicates the current <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> event that is processing.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.error?view=netframework-4.8#System_Web_HttpContext_Error" data-linktype="relative-path">Error</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-195">获取在处理 HTTP 请求的过程中累积的第一个错误（如果有）。</span><span class="sxs-lookup"><span data-stu-id="39a6b-195">Gets the first error (if any) accumulated during HTTP request processing.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.handler?view=netframework-4.8#System_Web_HttpContext_Handler" data-linktype="relative-path">Handler</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-274">获取或设置负责处理 HTTP 请求的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-274">Gets or sets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> object responsible for processing the HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.iscustomerrorenabled?view=netframework-4.8#System_Web_HttpContext_IsCustomErrorEnabled" data-linktype="relative-path">Is<wbr>Custom<wbr>Error<wbr>Enabled</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-281">获取一个值，该值指示是否已为当前 HTTP 请求启用自定义错误。</span><span class="sxs-lookup"><span data-stu-id="39a6b-281">Gets a value indicating whether custom errors are enabled for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.isdebuggingenabled?view=netframework-4.8#System_Web_HttpContext_IsDebuggingEnabled" data-linktype="relative-path">Is<wbr>Debugging<wbr>Enabled</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-283">获取一个值，该值指示当前 HTTP 请求是否处于调试模式。</span><span class="sxs-lookup"><span data-stu-id="39a6b-283">Gets a value indicating whether the current HTTP request is in debug mode.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.ispostnotification?view=netframework-4.8#System_Web_HttpContext_IsPostNotification" data-linktype="relative-path">Is<wbr>Post<wbr>Notification</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-285">在 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> 事件完成处理之后获取 ASP.NET 管道的当前进程点的值。</span><span class="sxs-lookup"><span data-stu-id="39a6b-285">Gets a value that is the current processing point in the ASP.NET pipeline just after an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpapplication?view=netframework-4.8" data-linktype="relative-path">HttpApplication</a> event has finished processing.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.iswebsocketrequest?view=netframework-4.8#System_Web_HttpContext_IsWebSocketRequest" data-linktype="relative-path">Is<wbr>Web<wbr>Socket<wbr>Request</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-298">获取一个值，该值指示此请求是否是一个 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 请求。</span><span class="sxs-lookup"><span data-stu-id="39a6b-298">Gets a value that indicates whether the request is an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.iswebsocketrequestupgrading?view=netframework-4.8#System_Web_HttpContext_IsWebSocketRequestUpgrading" data-linktype="relative-path">Is<wbr>Web<wbr>Socket<wbr>Request<wbr>Upgrading</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-301">获取指示连接是否从 HTTP 连接升级到 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 连接的值。</span><span class="sxs-lookup"><span data-stu-id="39a6b-301">Gets a value that indicates whether the connection is upgrading from an HTTP connection to an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> connection.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.items?view=netframework-4.8#System_Web_HttpContext_Items" data-linktype="relative-path">Items</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-303">获取可用于在 HTTP 请求过程中在 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttpmodule?view=netframework-4.8" data-linktype="relative-path">IHttpModule</a> 接口和 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> 接口之间组织和共享数据的键/值集合。</span><span class="sxs-lookup"><span data-stu-id="39a6b-303">Gets a key/value collection that can be used to organize and share data between an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttpmodule?view=netframework-4.8" data-linktype="relative-path">IHttpModule</a> interface and an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> interface during an HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.pageinstrumentation?view=netframework-4.8#System_Web_HttpContext_PageInstrumentation" data-linktype="relative-path">Page<wbr>Instrumentation</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-306">获取此要求的页检测服务实例的引用。</span><span class="sxs-lookup"><span data-stu-id="39a6b-306">Gets a reference to the page-instrumentation service instance for this request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.previoushandler?view=netframework-4.8#System_Web_HttpContext_PreviousHandler" data-linktype="relative-path">Previous<wbr>Handler</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-308">获取父处理程序的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-308">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a> object for the parent handler.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.profile?view=netframework-4.8#System_Web_HttpContext_Profile" data-linktype="relative-path">Profile</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-312">获取当前用户配置文件的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.profile.profilebase?view=netframework-4.8" data-linktype="relative-path">ProfileBase</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-312">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.profile.profilebase?view=netframework-4.8" data-linktype="relative-path">ProfileBase</a> object for the current user profile.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.request?view=netframework-4.8#System_Web_HttpContext_Request" data-linktype="relative-path">Request</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-322">为当前 HTTP 请求获取 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httprequest?view=netframework-4.8" data-linktype="relative-path">HttpRequest</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-322">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httprequest?view=netframework-4.8" data-linktype="relative-path">HttpRequest</a> object for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.response?view=netframework-4.8#System_Web_HttpContext_Response" data-linktype="relative-path">Response</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-333">获取当前 HTTP 响应的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpresponse?view=netframework-4.8" data-linktype="relative-path">HttpResponse</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-333">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpresponse?view=netframework-4.8" data-linktype="relative-path">HttpResponse</a> object for the current HTTP response.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.server?view=netframework-4.8#System_Web_HttpContext_Server" data-linktype="relative-path">Server</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-414">获取提供用于处理 Web 请求的方法的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpserverutility?view=netframework-4.8" data-linktype="relative-path">HttpServerUtility</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-414">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpserverutility?view=netframework-4.8" data-linktype="relative-path">HttpServerUtility</a> object that provides methods used in processing Web requests.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.session?view=netframework-4.8#System_Web_HttpContext_Session" data-linktype="relative-path">Session</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-421">为当前 HTTP 请求获取 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.sessionstate.httpsessionstate?view=netframework-4.8" data-linktype="relative-path">HttpSessionState</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-421">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.sessionstate.httpsessionstate?view=netframework-4.8" data-linktype="relative-path">HttpSessionState</a> object for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.skipauthorization?view=netframework-4.8#System_Web_HttpContext_SkipAuthorization" data-linktype="relative-path">Skip<wbr>Authorization</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-440">获取或设置一个值，该值指定 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.security.urlauthorizationmodule?view=netframework-4.8" data-linktype="relative-path">UrlAuthorizationModule</a> 对象是否应跳过对当前请求的授权检查。</span><span class="sxs-lookup"><span data-stu-id="39a6b-440">Gets or sets a value that specifies whether the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.security.urlauthorizationmodule?view=netframework-4.8" data-linktype="relative-path">UrlAuthorizationModule</a> object should skip the authorization check for the current request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.threadabortontimeout?view=netframework-4.8#System_Web_HttpContext_ThreadAbortOnTimeout" data-linktype="relative-path">Thread<wbr>Abort<wbr>OnTimeout</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-451">获取或设置一个值，此值指示 ASP.NET 运行时是否应在请求超时时，调用为该请求提供服务的线程上的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.threading.thread.abort?view=netframework-4.8#System_Threading_Thread_Abort" data-linktype="relative-path">Abort()</a>。</span><span class="sxs-lookup"><span data-stu-id="39a6b-451">Gets or sets a value that specifies whether the ASP.NET runtime should call <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.threading.thread.abort?view=netframework-4.8#System_Threading_Thread_Abort" data-linktype="relative-path">Abort()</a> on the thread that is servicing this request when the request times out.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.timestamp?view=netframework-4.8#System_Web_HttpContext_Timestamp" data-linktype="relative-path">Timestamp</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-457">获取当前 HTTP 请求的初始时间戳。</span><span class="sxs-lookup"><span data-stu-id="39a6b-457">Gets the initial timestamp of the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.trace?view=netframework-4.8#System_Web_HttpContext_Trace" data-linktype="relative-path">Trace</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-461">获取当前 HTTP 响应的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.tracecontext?view=netframework-4.8" data-linktype="relative-path">TraceContext</a> 对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-461">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.tracecontext?view=netframework-4.8" data-linktype="relative-path">TraceContext</a> object for the current HTTP response.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.user?view=netframework-4.8#System_Web_HttpContext_User" data-linktype="relative-path">User</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-463">获取或设置当前 HTTP 请求的安全信息。</span><span class="sxs-lookup"><span data-stu-id="39a6b-463">Gets or sets security information for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.websocketnegotiatedprotocol?view=netframework-4.8#System_Web_HttpContext_WebSocketNegotiatedProtocol" data-linktype="relative-path">Web<wbr>Socket<wbr>Negotiated<wbr>Protocol</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-477">获取用于 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 连接而从服务器发送到客户端的协商协议。</span><span class="sxs-lookup"><span data-stu-id="39a6b-477">Gets the negotiated protocol that was sent from the server to the client for an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> connection.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.websocketrequestedprotocols?view=netframework-4.8#System_Web_HttpContext_WebSocketRequestedProtocols" data-linktype="relative-path">Web<wbr>Socket<wbr>Requested<wbr>Protocols</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-479">获取客户要求的子协议列表的有序列表。</span><span class="sxs-lookup"><span data-stu-id="39a6b-479">Gets the ordered list of protocols requested by the client.</span></span></p>

	</td>

        	</tr>
	</tbody></table></div>


	<h2 id="methods" data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 netframework-1.1 netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 " class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#methods" aria-labelledby="methods"></a>
		方法
	</h2>
	<div class="table-scroll-wrapper"><table class="nameValue table is-left-aligned is-stacked-mobile"><caption class="visually-hidden">方法</caption>
        	<tbody><tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.acceptwebsocketrequest?view=netframework-4.8#System_Web_HttpContext_AcceptWebSocketRequest_System_Func_System_Web_WebSockets_AspNetWebSocketContext_System_Threading_Tasks_Task__" data-linktype="relative-path">Accept<wbr>Web<wbr>Socket<wbr>Request(Func&lt;Asp<wbr>Net<wbr>Web<wbr>Socket<wbr>Context,Task&gt;)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-119">接受一个使用指定用户函数的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 请求。</span><span class="sxs-lookup"><span data-stu-id="39a6b-119">Accepts an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> request using the specified user function.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.acceptwebsocketrequest?view=netframework-4.8#System_Web_HttpContext_AcceptWebSocketRequest_System_Func_System_Web_WebSockets_AspNetWebSocketContext_System_Threading_Tasks_Task__System_Web_WebSockets_AspNetWebSocketOptions_" data-linktype="relative-path">Accept<wbr>Web<wbr>Socket<wbr>Request(Func&lt;Asp<wbr>Net<wbr>Web<wbr>Socket<wbr>Context,Task&gt;, Asp<wbr>Net<wbr>Web<wbr>Socket<wbr>Options)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-125">接受一个使用指定用户函数和选项对象 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 请求。</span><span class="sxs-lookup"><span data-stu-id="39a6b-125">Accepts an <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> request using the specified user function and options object.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.adderror?view=netframework-4.8#System_Web_HttpContext_AddError_System_Exception_" data-linktype="relative-path">Add<wbr>Error(Exception)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-129">将异常添加到当前 HTTP 请求的异常集合中。</span><span class="sxs-lookup"><span data-stu-id="39a6b-129">Adds an exception to the exception collection for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.addonrequestcompleted?view=netframework-4.8#System_Web_HttpContext_AddOnRequestCompleted_System_Action_System_Web_HttpContext__" data-linktype="relative-path">Add<wbr>OnRequest<wbr>Completed(Action&lt;Http<wbr>Context&gt;)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-131">引发在请求的 HTTP 部分结束时发生的虚拟事件。</span><span class="sxs-lookup"><span data-stu-id="39a6b-131">Raises a virtual event that occurs when the HTTP part of the request is ending.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.clearerror?view=netframework-4.8#System_Web_HttpContext_ClearError" data-linktype="relative-path">Clear<wbr>Error()</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-161">清除当前 HTTP 请求的所有错误。</span><span class="sxs-lookup"><span data-stu-id="39a6b-161">Clears all errors for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.disposeonpipelinecompleted?view=netframework-4.8#System_Web_HttpContext_DisposeOnPipelineCompleted_System_IDisposable_" data-linktype="relative-path">Dispose<wbr>OnPipeline<wbr>Completed(IDisposable)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-191">使对象的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.idisposable.dispose?view=netframework-4.8#System_IDisposable_Dispose" data-linktype="relative-path">Dispose()</a> 方法可以在此请求的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> 连接部分完成时进行调用。</span><span class="sxs-lookup"><span data-stu-id="39a6b-191">Enables an object's <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.idisposable.dispose?view=netframework-4.8#System_IDisposable_Dispose" data-linktype="relative-path">Dispose()</a> method to be called when the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.websockets.aspnetwebsocket?view=netframework-4.8" data-linktype="relative-path">AspNetWebSocket</a> connection part of this request is completed.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	<td class="is-one-third-width-tablet">
		<span class="break-text">
			  <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object.equals?view=netframework-4.8#System_Object_Equals_System_Object_" data-linktype="relative-path">Equals(Object)</a>
		</span>
	</td>
	<td class="summary">
		  <p><span data-ttu-id="65769-130">确定指定对象是否等于当前对象。</span><span class="sxs-lookup"><span data-stu-id="65769-130">Determines whether the specified object is equal to the current object.</span></span></p>

		(继承自   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>)
	</td>
        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getappconfig?view=netframework-4.8#System_Web_HttpContext_GetAppConfig_System_String_" data-linktype="relative-path">Get<wbr>App<wbr>Config(String)</a>
	</span>
</td>
	<td class="summary"> 
			<div data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">
				<strong>已过时。 </strong>
			</div>
		<p><span data-ttu-id="39a6b-199">为当前应用程序返回请求的配置信息。</span><span class="sxs-lookup"><span data-stu-id="39a6b-199">Returns requested configuration information for the current application.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getconfig?view=netframework-4.8#System_Web_HttpContext_GetConfig_System_String_" data-linktype="relative-path">Get<wbr>Config(String)</a>
	</span>
</td>
	<td class="summary"> 
			<div data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">
				<strong>已过时。 </strong>
			</div>
		<p><span data-ttu-id="39a6b-205">为当前 HTTP 请求返回所请求的配置信息。</span><span class="sxs-lookup"><span data-stu-id="39a6b-205">Returns requested configuration information for the current HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getglobalresourceobject?view=netframework-4.8#System_Web_HttpContext_GetGlobalResourceObject_System_String_System_String_" data-linktype="relative-path">Get<wbr>Global<wbr>Resource<wbr>Object(String, String)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-215">根据指定的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.classkey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ClassKey" data-linktype="relative-path">ClassKey</a> 和 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> 属性，获取应用程序级别资源对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-215">Gets an application-level resource object based on the specified <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.classkey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ClassKey" data-linktype="relative-path">ClassKey</a> and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> properties.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getglobalresourceobject?view=netframework-4.8#System_Web_HttpContext_GetGlobalResourceObject_System_String_System_String_System_Globalization_CultureInfo_" data-linktype="relative-path">Get<wbr>Global<wbr>Resource<wbr>Object(String, String, Culture<wbr>Info)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-229">根据指定的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.classkey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ClassKey" data-linktype="relative-path">ClassKey</a> 和 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> 属性以及 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.globalization.cultureinfo?view=netframework-4.8" data-linktype="relative-path">CultureInfo</a> 对象，获取一个应用程序级别资源对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-229">Gets an application-level resource object based on the specified <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.classkey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ClassKey" data-linktype="relative-path">ClassKey</a> and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> properties, and on the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.globalization.cultureinfo?view=netframework-4.8" data-linktype="relative-path">CultureInfo</a> object.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	<td class="is-one-third-width-tablet">
		<span class="break-text">
			  <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object.gethashcode?view=netframework-4.8#System_Object_GetHashCode" data-linktype="relative-path">Get<wbr>Hash<wbr>Code()</a>
		</span>
	</td>
	<td class="summary">
		  <p><span data-ttu-id="65769-345">作为默认哈希函数。</span><span class="sxs-lookup"><span data-stu-id="65769-345">Serves as the default hash function.</span></span></p>

		(继承自   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>)
	</td>
        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getlocalresourceobject?view=netframework-4.8#System_Web_HttpContext_GetLocalResourceObject_System_String_System_String_" data-linktype="relative-path">Get<wbr>Local<wbr>Resource<wbr>Object(String, String)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-247">根据指定的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.expressionbuildercontext.virtualpath?view=netframework-4.8#System_Web_Compilation_ExpressionBuilderContext_VirtualPath" data-linktype="relative-path">VirtualPath</a> 和 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> 属性，获取页级别资源对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-247">Gets a page-level resource object based on the specified <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.expressionbuildercontext.virtualpath?view=netframework-4.8#System_Web_Compilation_ExpressionBuilderContext_VirtualPath" data-linktype="relative-path">VirtualPath</a> and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> properties.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getlocalresourceobject?view=netframework-4.8#System_Web_HttpContext_GetLocalResourceObject_System_String_System_String_System_Globalization_CultureInfo_" data-linktype="relative-path">Get<wbr>Local<wbr>Resource<wbr>Object(String, String, Culture<wbr>Info)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-260">根据指定的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.expressionbuildercontext.virtualpath?view=netframework-4.8#System_Web_Compilation_ExpressionBuilderContext_VirtualPath" data-linktype="relative-path">VirtualPath</a> 和 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> 属性以及 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.globalization.cultureinfo?view=netframework-4.8" data-linktype="relative-path">CultureInfo</a> 对象，获取一个页级别资源对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-260">Gets a page-level resource object based on the specified <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.expressionbuildercontext.virtualpath?view=netframework-4.8#System_Web_Compilation_ExpressionBuilderContext_VirtualPath" data-linktype="relative-path">VirtualPath</a> and <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.compilation.resourceexpressionfields.resourcekey?view=netframework-4.8#System_Web_Compilation_ResourceExpressionFields_ResourceKey" data-linktype="relative-path">ResourceKey</a> properties, and on the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.globalization.cultureinfo?view=netframework-4.8" data-linktype="relative-path">CultureInfo</a> object.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.getsection?view=netframework-4.8#System_Web_HttpContext_GetSection_System_String_" data-linktype="relative-path">Get<wbr>Section(String)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-272">获取当前应用程序的默认配置的指定配置节。</span><span class="sxs-lookup"><span data-stu-id="39a6b-272">Gets a specified configuration section for the current application's default configuration.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	<td class="is-one-third-width-tablet">
		<span class="break-text">
			  <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object.gettype?view=netframework-4.8#System_Object_GetType" data-linktype="relative-path">Get<wbr>Type()</a>
		</span>
	</td>
	<td class="summary">
		  <p><span data-ttu-id="65769-430">获取当前实例的 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.type?view=netframework-4.8" data-linktype="relative-path">Type</a>。</span><span class="sxs-lookup"><span data-stu-id="65769-430">Gets the <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.type?view=netframework-4.8" data-linktype="relative-path">Type</a> of the current instance.</span></span></p>

		(继承自   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>)
	</td>
        	</tr>
        	<tr>	
	<td class="is-one-third-width-tablet">
		<span class="break-text">
			  <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object.memberwiseclone?view=netframework-4.8#System_Object_MemberwiseClone" data-linktype="relative-path">Memberwise<wbr>Clone()</a>
		</span>
	</td>
	<td class="summary">
		  <p><span data-ttu-id="65769-447">创建当前 <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a> 的浅表副本。</span><span class="sxs-lookup"><span data-stu-id="65769-447">Creates a shallow copy of the current <a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>.</span></span></p>

		(继承自   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>)
	</td>
        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.remaphandler?view=netframework-4.8#System_Web_HttpContext_RemapHandler_System_Web_IHttpHandler_" data-linktype="relative-path">Remap<wbr>Handler(IHttp<wbr>Handler)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-317">用于为请求指定处理程序。</span><span class="sxs-lookup"><span data-stu-id="39a6b-317">Enables you to specify a handler for the request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.rewritepath?view=netframework-4.8#System_Web_HttpContext_RewritePath_System_String_" data-linktype="relative-path">Rewrite<wbr>Path(String)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-344">使用给定路径重写 URL。</span><span class="sxs-lookup"><span data-stu-id="39a6b-344">Rewrites the URL using the given path.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.rewritepath?view=netframework-4.8#System_Web_HttpContext_RewritePath_System_String_System_Boolean_" data-linktype="relative-path">Rewrite<wbr>Path(String, Boolean)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-365">使用给定路径和一个布尔值重写 URL，该布尔值用于指定是否修改服务器资源的虚拟路径。</span><span class="sxs-lookup"><span data-stu-id="39a6b-365">Rewrites the URL using the given path and a Boolean value that specifies whether the virtual path for server resources is modified.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.rewritepath?view=netframework-4.8#System_Web_HttpContext_RewritePath_System_String_System_String_System_String_" data-linktype="relative-path">Rewrite<wbr>Path(String, String, String)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-382">使用给定的路径、路径信息和查询字符串信息重写 URL。</span><span class="sxs-lookup"><span data-stu-id="39a6b-382">Rewrites the URL by using the given path, path information, and query string information.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-2.0 netframework-3.0 netframework-3.5 netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.rewritepath?view=netframework-4.8#System_Web_HttpContext_RewritePath_System_String_System_String_System_String_System_Boolean_" data-linktype="relative-path">Rewrite<wbr>Path(String, String, String, Boolean)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-400">使用给定虚拟路径、路径信息、查询字符串信息和一个布尔值重写 URL，该布尔值用于指定是否将客户端文件路径设置为重写路径。</span><span class="sxs-lookup"><span data-stu-id="39a6b-400">Rewrites the URL using the given virtual path, path information, query string information, and a Boolean value that specifies whether the client file path is set to the rewrite path.</span></span></p>

	</td>

        	</tr>
        	<tr data-moniker=" netframework-4.0 netframework-4.5 netframework-4.5.1 netframework-4.5.2 netframework-4.6 netframework-4.6.1 netframework-4.6.2 netframework-4.7 netframework-4.7.1 netframework-4.7.2 netframework-4.8 ">	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.setsessionstatebehavior?view=netframework-4.8#System_Web_HttpContext_SetSessionStateBehavior_System_Web_SessionState_SessionStateBehavior_" data-linktype="relative-path">Set<wbr>Session<wbr>State<wbr>Behavior(Session<wbr>State<wbr>Behavior)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-433">设置支持 HTTP 请求所需的会话状态行为的类型。</span><span class="sxs-lookup"><span data-stu-id="39a6b-433">Sets the type of session state behavior that is required in order to support an HTTP request.</span></span></p>

	</td>

        	</tr>
        	<tr>	
	<td class="is-one-third-width-tablet">
		<span class="break-text">
			  <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object.tostring?view=netframework-4.8#System_Object_ToString" data-linktype="relative-path">To<wbr>String()</a>
		</span>
	</td>
	<td class="summary">
		  <p><span data-ttu-id="65769-486">返回表示当前对象的字符串。</span><span class="sxs-lookup"><span data-stu-id="65769-486">Returns a string that represents the current object.</span></span></p>

		(继承自   <a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.object?view=netframework-4.8" data-linktype="relative-path">Object</a>)
	</td>
        	</tr>
	</tbody></table></div>




	<h2 id="explicit-interface-implementations" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#explicit-interface-implementations" aria-labelledby="explicit-interface-implementations"></a>
		显式接口实现
	</h2>
	<div class="table-scroll-wrapper"><table class="nameValue table is-left-aligned is-stacked-mobile"><caption class="visually-hidden">显式接口实现</caption>
        	<tbody><tr>	
	  <td class="is-one-third-width-tablet">
	<span class="break-text">
		<a class="xref" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext.system-iserviceprovider-getservice?view=netframework-4.8#System_Web_HttpContext_System_IServiceProvider_GetService_System_Type_" data-linktype="relative-path">IService<wbr>Provider.<wbr>Get<wbr>Service(Type)</a>
	</span>
</td>
	<td class="summary"> 
		<p><span data-ttu-id="39a6b-448">返回当前服务类型的对象。</span><span class="sxs-lookup"><span data-stu-id="39a6b-448">Returns an object for the current service type.</span></span></p>

	</td>

        	</tr>
	</tbody></table></div>



	 <h2 id="---" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#---" aria-labelledby="---"></a>适用于</h2>
	 <div class="table-scroll-wrapper moniker-applies-to-table">
      <table class="table has-border has-inner-borders has-header-background has-row-header-background"><caption class="visually-hidden">适用于</caption>
        <thead><!----><tr>
		<th scope="col"><!---->产品<!----></th>
		<th scope="col"><!---->版本<!----></th>
	</tr><!----></thead><tbody><!----><!---->
			<tr>
				<th scope="row"><!---->.NET Framework<!----></th>
				<td><!---->1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 <!----></td>
			</tr>
		<!----><!----></tbody>
      </table>
    </div>


	<h2 id="see-also" class="heading-anchor"><a class="anchor-link docon docon-link" href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#see-also" aria-labelledby="see-also"></a>另请参阅</h2>
	<ul>
<li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttpmodule?view=netframework-4.8" data-linktype="relative-path">IHttpModule</a></li>
<li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.ihttphandler?view=netframework-4.8" data-linktype="relative-path">IHttpHandler</a></li>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=196730" data-linktype="external"><span data-ttu-id="39a6b-110">上下文问题</span><span class="sxs-lookup"><span data-stu-id="39a6b-110">A Matter of Context</span></span></a></li>
</ul>


						<!-- </content> -->

						</main>

						<!-- page rating section -->
								<div class="is-hidden-desktop has-border-top has-margin-top-large has-padding-top-large binary-rating-holder">
									
	
	

	<div class="feedback-verbatim has-border-bottom has-padding-bottom-large has-margin-bottom-small" data-bi-name="rating">
    <div class="binary-rating">
        <div class="binary-rating-buttons">
				<h3 class="has-text-weight-semibold has-margin-top-none has-margin-bottom-small is-size-h4 has-margin-bottom-medium">此页面有帮助吗?</h3>
			<div>
                <button class="thumb-rating like has-inner-focus" title="是" data-bi-name="rating-yes" aria-expanded="false" data-bi-sat="1" aria-controls="rating-container-desktop">
                    <span aria-hidden="true" class="icon docon docon-like"></span>
                    <span>是</span>
                </button>
                <button class="thumb-rating dislike has-inner-focus" title="否" data-bi-name="rating-no" data-bi-sat="0" aria-expanded="false" aria-controls="rating-container-desktop">
                    <span aria-hidden="true" class="icon docon docon-dislike"></span>
                    <span>否</span>
                </button>
            </div>
        </div>
        <form class="feedback-verbatim-form is-hidden" id="rating-container-desktop">
            <div class="verbatim-textarea box is-relative has-box-shadow-none has-border has-margin-top-small has-padding-extra-small is-size-extra-small">
                <label for="rating-textarea-desktop" class="visually-hidden">还有其他反馈吗？</label>
                <textarea id="rating-textarea-desktop" rows="4" maxlength="999" placeholder="还有其他反馈吗？" required="" class="textarea has-border-none has-box-shadow-none has-inner-focus"></textarea>
            </div>
            <div class="buttons is-right has-margin-top-medium has-margin-right-extra-small">
                <button class="skip-rating button is-transparent has-text-primary is-small has-border-none" type="button">跳过</button>
                <button class="submit-rating button is-primary is-small" data-bi-name="rating-verbatim" disabled="" type="submit">提交</button>
            </div>
        </form>
    </div>
    <div class="thankyou-rating is-hidden" tabindex="-1">
        <p>谢谢。</p>
    </div>
</div>									</div>
						<!-- end page rating section -->


						<!-- recommendations section -->
						<!-- end recommendations section -->

						<!-- feedback section -->
						<!-- end feedback section -->

						<!-- feedback report section -->
						<!-- end feedback report section -->

						<div class="footerContainer is-visible-interactive has-default-focus ">



	<footer id="footer-interactive" data-bi-name="footer" class="footer-layout">

    <div class="is-flex is-full-height has-padding-right-extra-large-desktop">
			<a data-mscc-ic="false" class="locale-selector-link has-flex-shrink-none" href="https://docs.microsoft.com/zh-cn/locale?target=https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0" data-bi-name="select-locale"><span class="icon docon docon-world is-size-large has-margin-right-small" aria-hidden="true"></span><span class="local-selector-link-text">中文 (简体)</span></a>
		<div class="has-margin-left-medium has-margin-right-medium has-flex-shrink-none">
<div class="dropdown has-caret-up">
	<button class="dropdown-trigger button is-transparent is-small is-icon-only-touch has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu-interactive" aria-expanded="false" title="主题" data-bi-name="theme">
		<span class="icon">
			<span class="docon docon-sun" aria-hidden="true"></span>
		</span>
		<span>主题</span>
	</button>
	<div class="dropdown-menu" id="theme-menu-interactive" role="menu">
		<ul class="theme-selector has-padding-small">
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start is-selected" data-theme-to="light" aria-pressed="true">
					<span class="theme-light has-margin-right-small">
						<span class="theme-selector-icon css-variable-support has-border is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
亮					</span>
				</button>
			</li>
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start" data-theme-to="dark" aria-pressed="false">
					<span class="theme-dark has-margin-right-small">
						<span class="has-border theme-selector-icon css-variable-support is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
暗					</span>
				</button>
			</li>
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start" data-theme-to="high-contrast" aria-pressed="false">
					<span class="theme-high-contrast has-margin-right-small">
						<span class="has-border theme-selector-icon css-variable-support is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
高对比度					</span>
				</button>
			</li>
		</ul>
	</div>
</div>		</div>
	</div>
    <ul class="links" data-bi-name="footerlinks">
		<li class="manage-cookies-holder" hidden=""></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/previous-versions/" data-bi-name="archivelink">旧版文档</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/teamblog" data-bi-name="bloglink">博客</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/contribute" data-bi-name="contributorGuide">参与</a></li>
				<li><a data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">隐私和 Cookie</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/legal/termsofuse" data-bi-name="termsofuse">使用条款</a></li>
				<li><a data-mscc-ic="false" href="https://aka.ms/sitefeedback" data-bi-name="feedback">网站反馈</a></li>
			<li><a data-mscc-ic="false" href="https://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/EN-US.aspx" data-bi-name="trademarks">商标</a></li>
		<li>© Microsoft 2021</li>
    </ul>
</footer>
						</div>
					</div>

					<div class="is-size-small right-container column is-one-quarter is-one-fifth-desktop is-hidden-mobile is-hidden-tablet-only" data-bi-name="pageactions" role="complementary" aria-label="页面操作">
						<div id="affixed-right-container" class="doc-outline is-fixed is-vertically-scrollable" style="width: 172.938px; top: 24px; bottom: 24px;">
								
	
	

	<div class="feedback-verbatim has-border-bottom has-padding-bottom-small has-margin-bottom-small" data-bi-name="rating">
    <div class="binary-rating">
        <div class="binary-rating-buttons">

				<h3 class="has-text-weight-semibold has-margin-top-none has-margin-bottom-small">此页面有帮助吗?</h3>
			<div>
                <button class="thumb-rating like has-inner-focus" title="是" data-bi-name="rating-yes" aria-expanded="false" data-bi-sat="1" aria-controls="rating-container-mobile">
                    <span aria-hidden="true" class="icon docon docon-like"></span>
                    <span>是</span>
                </button>
                <button class="thumb-rating dislike has-inner-focus" title="否" data-bi-name="rating-no" data-bi-sat="0" aria-expanded="false" aria-controls="rating-container-mobile">
                    <span aria-hidden="true" class="icon docon docon-dislike"></span>
                    <span>否</span>
                </button>
            </div>
        </div>
        <form class="feedback-verbatim-form is-hidden" id="rating-container-mobile">
            <div class="verbatim-textarea box is-relative has-box-shadow-none has-border has-margin-top-small has-padding-extra-small is-size-extra-small">
                <label for="rating-textarea-mobile" class="visually-hidden">还有其他反馈吗？</label>
                <textarea id="rating-textarea-mobile" rows="4" maxlength="999" placeholder="还有其他反馈吗？" required="" class="textarea has-border-none has-box-shadow-none has-inner-focus"></textarea>
            </div>
            <div class="buttons is-right has-margin-top-medium has-margin-right-extra-small">
                <button class="skip-rating button is-transparent has-text-primary is-small has-border-none" type="button">跳过</button>
                <button class="submit-rating button is-primary is-small" data-bi-name="rating-verbatim" disabled="" type="submit">提交</button>
            </div>
        </form>
    </div>
    <div class="thankyou-rating is-hidden" tabindex="-1">
        <p>谢谢。</p>
    </div>
</div>							<nav id="side-doc-outline" data-bi-name="intopic toc" role="navigation" aria-label="文章大纲">
								<h3>本文内容</h3>
							<ol><li class=""><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#definition">定义</a></li><li class="selected"><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#examples">示例</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#remarks">注解</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#constructors">构造函数</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#properties">属性</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#methods">方法</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#explicit-interface-implementations">显式接口实现</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#---">适用于</a></li><li><a href="https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0#see-also">另请参阅</a></li></ol></nav>
						</div>
					</div>

					<!--end of div.columns -->
				</div>

			<!--end of .primary-holder -->
			</section>

			<aside id="interactive-container" class="interactive-container is-visible-interactive column has-body-background-dark ">
			</aside>
		</div>

		<!--end of .mainContainer -->
	</div>

	<div class="footerContainer has-default-focus is-hidden-interactive ">



	<footer id="footer" data-bi-name="footer" class="footer-layout uhf-container has-padding" role="contentinfo">

    <div class="is-flex is-full-height has-padding-right-extra-large-desktop">
			<a data-mscc-ic="false" class="locale-selector-link has-flex-shrink-none" href="https://docs.microsoft.com/zh-cn/locale?target=https://docs.microsoft.com/zh-cn/dotnet/api/system.web.httpcontext?view=netframework-4.8&amp;viewFallbackFrom=net-5.0" data-bi-name="select-locale"><span class="icon docon docon-world is-size-large has-margin-right-small" aria-hidden="true"></span><span class="local-selector-link-text">中文 (简体)</span></a>
		<div class="has-margin-left-medium has-margin-right-medium has-flex-shrink-none">
<div class="dropdown has-caret-up">
	<button class="dropdown-trigger button is-transparent is-small is-icon-only-touch has-inner-focus theme-dropdown-trigger" aria-controls="theme-menu" aria-expanded="false" title="主题" data-bi-name="theme">
		<span class="icon">
			<span class="docon docon-sun" aria-hidden="true"></span>
		</span>
		<span>主题</span>
	</button>
	<div class="dropdown-menu" id="theme-menu" role="menu">
		<ul class="theme-selector has-padding-small">
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start is-selected" data-theme-to="light" aria-pressed="true">
					<span class="theme-light has-margin-right-small">
						<span class="theme-selector-icon css-variable-support has-border is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
亮					</span>
				</button>
			</li>
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start" data-theme-to="dark" aria-pressed="false">
					<span class="theme-dark has-margin-right-small">
						<span class="has-border theme-selector-icon css-variable-support is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
暗					</span>
				</button>
			</li>
			<li class="theme is-block">
				<button class="button is-text is-small theme-control is-fullwidth has-flex-justify-content-start" data-theme-to="high-contrast" aria-pressed="false">
					<span class="theme-high-contrast has-margin-right-small">
						<span class="has-border theme-selector-icon css-variable-support is-inline-block has-body-background" aria-hidden="true">
							<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 14">
								<rect width="22" height="14" class="has-fill-body-background"></rect>
								<rect x="5" y="5" width="12" height="4" class="has-fill-secondary"></rect>
								<rect x="5" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="8" y="2" width="2" height="1" class="has-fill-secondary"></rect>
								<rect x="11" y="2" width="3" height="1" class="has-fill-secondary"></rect>
								<rect x="1" y="1" width="2" height="2" class="has-fill-secondary"></rect>
								<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary"></rect>
								<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary"></rect>
							</svg>
						</span>
					</span>
					<span role="menuitem">
高对比度					</span>
				</button>
			</li>
		</ul>
	</div>
</div>		</div>
	</div>
    <ul class="links" data-bi-name="footerlinks">
		<li class="manage-cookies-holder" hidden=""></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/previous-versions/" data-bi-name="archivelink">旧版文档</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/teamblog" data-bi-name="bloglink">博客</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/contribute" data-bi-name="contributorGuide">参与</a></li>
				<li><a data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">隐私和 Cookie</a></li>
			<li><a data-mscc-ic="false" href="https://docs.microsoft.com/zh-cn/legal/termsofuse" data-bi-name="termsofuse">使用条款</a></li>
				<li><a data-mscc-ic="false" href="https://aka.ms/sitefeedback" data-bi-name="feedback">网站反馈</a></li>
			<li><a data-mscc-ic="false" href="https://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/EN-US.aspx" data-bi-name="trademarks">商标</a></li>
		<li>© Microsoft 2021</li>
    </ul>
</footer>
	</div>

	<div id="action-panel" role="region" aria-label="操作面板" class="action-panel has-default-focus" tabindex="-1"></div>


<div class="usabilla_live_button_container" role="button" tabindex="0" style="margin-top: 0px; position: fixed; width: 0px; height: 0px; z-index: 99999990; right: 0px; top: 50%; display: none;" aria-label="Usabilla Feedback Button"><iframe src="./HttpContext 类 (System.Web) _ Microsoft Docs_files/saved_resource(1).html" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" data-tags="right" title="Usabilla Feedback Button" style="width: 0px; height: 0px; margin: 0px; padding: 0px; border: 0px; overflow: hidden; z-index: 9998; position: absolute; left: 0px; top: 0px; box-shadow: 0px 0px 0px; background-color: transparent;"></iframe></div></body></html>